2024-02-23 18:02:50 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: seafile
|
|
|
|
APP_PORT: 80
|
2024-05-13 12:58:24 +00:00
|
|
|
PROXY_AUTH_ADD: "false"
|
2024-02-23 18:02:50 +00:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb:10.11.6@sha256:20a8bd91d972c97cffded88f2ba0ab533c8988b2dc08090c57d50caf7114ed20
|
|
|
|
container_name: seafile-mysql
|
|
|
|
environment:
|
2024-05-13 12:58:24 +00:00
|
|
|
- MYSQL_ROOT_PASSWORD=db_dev
|
2024-02-23 18:02:50 +00:00
|
|
|
- MYSQL_LOG_CONSOLE=true
|
|
|
|
volumes:
|
2024-05-13 12:58:24 +00:00
|
|
|
- ${APP_DATA_DIR}/data/db:/var/lib/mysql
|
2024-02-23 18:02:50 +00:00
|
|
|
|
|
|
|
memcached:
|
|
|
|
image: memcached:1.6.18@sha256:4ab520657d9919221f752771bb013d632c9b39cea9dfae9162244b2e39885bcd
|
|
|
|
container_name: seafile-memcached
|
|
|
|
entrypoint: memcached -m 256
|
2024-05-13 12:58:24 +00:00
|
|
|
|
2024-02-23 18:02:50 +00:00
|
|
|
seafile:
|
2024-08-13 04:07:45 +00:00
|
|
|
image: seafileltd/seafile-mc:11.0.11@sha256:50c1ae8c5e30e318701df02d33b1a5bb874b26ab6c77803e2f500573c3610654
|
2024-02-23 18:02:50 +00:00
|
|
|
container_name: seafile
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/seafile-data:/shared
|
|
|
|
environment:
|
2024-05-13 12:58:24 +00:00
|
|
|
- DB_HOST=seafile-mysql
|
2024-02-23 18:02:50 +00:00
|
|
|
- DB_ROOT_PASSWD=db_dev
|
|
|
|
- SEAFILE_ADMIN_EMAIL=umbrel
|
|
|
|
- SEAFILE_ADMIN_PASSWORD=${APP_PASSWORD}
|
|
|
|
- SEAFILE_SERVER_LETSENCRYPT=false
|
|
|
|
- SEAFILE_SERVER_HOSTNAME=${DEVICE_DOMAIN_NAME}:8920
|
|
|
|
depends_on:
|
|
|
|
- db
|
2024-08-13 04:07:45 +00:00
|
|
|
- memcached
|