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

35 lines
791 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
volumes:
2022-01-17 21:15:42 +00:00
- seafile-db:/var/lib/mysql:Z
2021-05-26 20:11:53 +00:00
memcached:
image: "docker.io/library/memcached:${memcached_release}"
2021-05-26 20:11:53 +00:00
container_name: seafile-memcached
command: memcached -m 256
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:
- ${listen_if}:${listen_port}:80
2023-06-15 20:30:05 +00:00
- ${listen_if}:${listen_ws_port}:8083
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
2021-05-26 20:11:53 +00:00
depends_on:
- db
- memcached
2022-08-29 19:41:09 +00:00
volumes:
seafile-db:
seafile-data: