services-garbaye/podman-seafile/docker-compose.yml
2022-01-18 20:29:16 +01:00

43 lines
874 B
YAML

version: '2.0'
services:
db:
image: docker.io/library/mariadb:10.2
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:1.6
container_name: seafile-memcached
command: memcached -m 256
networks:
- seafile-net
seafile:
image: "docker.io/seafileltd/seafile-mc:${GARBAYE_SEAFILE_SEAFILE_VERSION}"
container_name: seafile
ports:
- "127.0.0.1:8082: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: