2021-05-26 20:11:53 +00:00
|
|
|
version: '2.0'
|
|
|
|
services:
|
|
|
|
db:
|
2022-02-25 12:30:57 +00:00
|
|
|
image: "docker.io/library/mariadb:${mariadb_release}"
|
2022-01-17 21:15:42 +00:00
|
|
|
container_name: seafile-db
|
2021-05-26 20:11:53 +00:00
|
|
|
environment:
|
|
|
|
- MYSQL_LOG_CONSOLE=true
|
2022-01-17 21:15:42 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|
2021-05-26 20:11:53 +00:00
|
|
|
volumes:
|
2022-01-17 21:15:42 +00:00
|
|
|
- seafile-db:/var/lib/mysql:Z
|
2021-05-26 20:11:53 +00:00
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
memcached:
|
2022-02-25 12:30:57 +00:00
|
|
|
image: "docker.io/library/memcached:${memcached_release}"
|
2021-05-26 20:11:53 +00:00
|
|
|
container_name: seafile-memcached
|
|
|
|
command: memcached -m 256
|
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
seafile:
|
2022-03-05 20:03:32 +00:00
|
|
|
image: "${seafile_image}:${seafile_release}"
|
2021-05-26 20:11:53 +00:00
|
|
|
container_name: seafile
|
|
|
|
ports:
|
2022-02-11 13:47:30 +00:00
|
|
|
- ${listen_if}:${listen_port}:80
|
2021-05-26 20:11:53 +00:00
|
|
|
volumes:
|
2022-01-17 21:15:42 +00:00
|
|
|
- seafile-data:/shared:Z
|
2021-05-26 20:11:53 +00:00
|
|
|
environment:
|
|
|
|
- DB_HOST=db
|
2022-01-17 21:15:42 +00:00
|
|
|
- TIME_ZONE=Europe/Paris
|
|
|
|
- SEAFILE_SERVER_LETSENCRYPT=false
|
|
|
|
env_file:
|
|
|
|
- .env
|
2021-05-26 20:11:53 +00:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- memcached
|
|
|
|
networks:
|
|
|
|
- seafile-net
|
|
|
|
|
|
|
|
networks:
|
|
|
|
seafile-net:
|