Seafile : docker-compose conforme v2
This commit is contained in:
parent
3c8bcf8af0
commit
08cf3fa587
|
@ -9,15 +9,11 @@ services:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- seafile-db:/var/lib/mysql:Z
|
- seafile-db:/var/lib/mysql:Z
|
||||||
networks:
|
|
||||||
- seafile-net
|
|
||||||
|
|
||||||
memcached:
|
memcached:
|
||||||
image: "docker.io/library/memcached:${memcached_release}"
|
image: "docker.io/library/memcached:${memcached_release}"
|
||||||
container_name: seafile-memcached
|
container_name: seafile-memcached
|
||||||
command: memcached -m 256
|
command: memcached -m 256
|
||||||
networks:
|
|
||||||
- seafile-net
|
|
||||||
|
|
||||||
seafile:
|
seafile:
|
||||||
image: "${seafile_image}:${seafile_release}"
|
image: "${seafile_image}:${seafile_release}"
|
||||||
|
@ -35,8 +31,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- memcached
|
- memcached
|
||||||
networks:
|
|
||||||
- seafile-net
|
|
||||||
|
|
||||||
networks:
|
volumes:
|
||||||
seafile-net:
|
seafile-db:
|
||||||
|
seafile-data:
|
||||||
|
|
Loading…
Reference in a new issue