services-garbaye/podman-seafile/docker-compose.yml
2022-02-25 13:30:57 +01:00

43 lines
904 B
YAML

version: '2.0'
services:
db:
image: "docker.io/library/mariadb:${mariadb_release}"
container_name: seafile-db
environment:
- MYSQL_LOG_CONSOLE=true
env_file:
- .env
volumes:
- seafile-db:/var/lib/mysql:Z
networks:
- seafile-net
memcached:
image: "docker.io/library/memcached:${memcached_release}"
container_name: seafile-memcached
command: memcached -m 256
networks:
- seafile-net
seafile:
image: "docker.io/seafileltd/seafile-mc:${seafile_release}"
container_name: seafile
ports:
- ${listen_if}:${listen_port}:80
volumes:
- seafile-data:/shared:Z
environment:
- DB_HOST=db
- TIME_ZONE=Europe/Paris
- SEAFILE_SERVER_LETSENCRYPT=false
env_file:
- .env
depends_on:
- db
- memcached
networks:
- seafile-net
networks:
seafile-net: