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

43 lines
874 B
YAML
Raw Normal View History

2021-05-26 20:11:53 +00:00
version: '2.0'
services:
db:
2022-01-16 21:56:17 +00:00
image: docker.io/library/mariadb:10.2
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-01-16 21:56:17 +00:00
image: docker.io/library/memcached:1.6
2021-05-26 20:11:53 +00:00
container_name: seafile-memcached
command: memcached -m 256
networks:
- seafile-net
seafile:
2022-01-17 21:15:42 +00:00
image: "docker.io/seafileltd/seafile-mc:${GARBAYE_SEAFILE_SEAFILE_VERSION}"
2021-05-26 20:11:53 +00:00
container_name: seafile
ports:
2022-01-18 19:29:16 +00:00
- "127.0.0.1:8082: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: