35 lines
791 B
YAML
35 lines
791 B
YAML
version: '2.0'
|
|
services:
|
|
db:
|
|
image: "docker.io/library/mariadb:${mariadb_release}"
|
|
container_name: seafile-db
|
|
environment:
|
|
- MYSQL_LOG_CONSOLE=true
|
|
volumes:
|
|
- seafile-db:/var/lib/mysql:Z
|
|
|
|
memcached:
|
|
image: "docker.io/library/memcached:${memcached_release}"
|
|
container_name: seafile-memcached
|
|
command: memcached -m 256
|
|
|
|
seafile:
|
|
image: "${seafile_image}:${seafile_release}"
|
|
container_name: seafile
|
|
ports:
|
|
- ${listen_if}:${listen_port}:80
|
|
- ${listen_if}:${listen_ws_port}:8083
|
|
volumes:
|
|
- seafile-data:/shared:Z
|
|
environment:
|
|
- DB_HOST=db
|
|
- TIME_ZONE=Europe/Paris
|
|
- SEAFILE_SERVER_LETSENCRYPT=false
|
|
depends_on:
|
|
- db
|
|
- memcached
|
|
|
|
volumes:
|
|
seafile-db:
|
|
seafile-data:
|