services-garbaye/podman-seafile/docker-compose.yml

43 lines
904 B
YAML
Raw Normal View History

2021-05-26 20:11:53 +00:00
version: '2.0'
services:
db:
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:
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:
image: "docker.io/seafileltd/seafile-mc:${seafile_release}"
2021-05-26 20:11:53 +00:00
container_name: seafile
ports:
- ${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: