mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-18 15:27:08 +00:00
Update docker-compose.yml
remove optional traefik labels; add port definitions
This commit is contained in:
parent
8e479a2052
commit
dc7effba83
|
@ -21,22 +21,25 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/owncloud-ocis/config:/etc/ocis
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/owncloud-ocis/config:/etc/ocis
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/owncloud-ocis/data:/var/lib/ocis
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/owncloud-ocis/data:/var/lib/ocis
|
||||||
|
ports:
|
||||||
|
- 9200
|
||||||
expose:
|
expose:
|
||||||
- 9200
|
- 9200
|
||||||
labels:
|
#labels:
|
||||||
- traefik.enable=true
|
# - traefik.enable=true
|
||||||
- traefik.http.routers.ocis.rule=Host(`cloud.example.com`) # adjust to your domain
|
# - traefik.http.routers.ocis.rule=Host(`cloud.example.com`) # adjust to your domain
|
||||||
- traefik.http.services.ocis.loadbalancer.server.port=9200
|
# - traefik.http.services.ocis.loadbalancer.server.port=9200
|
||||||
- traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000
|
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000
|
||||||
- traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000
|
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000
|
||||||
- traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000
|
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000
|
||||||
- traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000
|
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000
|
||||||
- traefik.docker.network=dev
|
# - traefik.docker.network=dev
|
||||||
# Part for optional traefik middlewares
|
# # disallow listing version details via /status.php endpoint
|
||||||
- traefik.http.routers.ocis.middlewares=local-ipwhitelist@file
|
# - traefik.http.routers.ocis-version-disclosure.rule=Host(`cloud.example.com`) && Path(`/status.php`)
|
||||||
networks:
|
# - traefik.http.routers.ocis-version-disclosure.middlewares=local-ipwhitelist@file
|
||||||
- dev
|
#networks:
|
||||||
|
# - dev
|
||||||
|
|
||||||
networks:
|
#networks:
|
||||||
dev:
|
# dev:
|
||||||
external: true
|
# external: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user