chore: adjust compose

This commit is contained in:
LRVT 2025-01-08 01:14:20 +01:00 committed by GitHub
parent 8a9645eaff
commit 8858499ce7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
services: services:
wedding-share: wedding-share:
image: cirx08/wedding_share:1.4.7 image: cirx08/wedding_share:latest
container_name: WeddingShare container_name: WeddingShare
restart: always restart: always
ports: ports:
@ -26,18 +26,18 @@ services:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/weddingshare/config:/app/config - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/weddingshare/config:/app/config
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/weddingshare/uploads/thumbnails:/app/wwwroot/thumbnails - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/weddingshare/uploads/thumbnails:/app/wwwroot/thumbnails
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/weddingshare/uploads:/app/wwwroot/uploads - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/weddingshare/uploads:/app/wwwroot/uploads
# networks: #networks:
# - proxy # - proxy
# labels: #labels:
# - traefik.enable=true # - traefik.enable=true
# - traefik.docker.network=proxy # - traefik.docker.network=proxy
# - traefik.http.routers.weddingshare.rule=Host(`weddingshare.example.com`) # - traefik.http.routers.weddingshare.rule=Host(`weddingshare.example.com`)
# - traefik.http.services.weddingshare.loadbalancer.server.port=5000 # - traefik.http.services.weddingshare.loadbalancer.server.port=5000
# # Optional part for file upload max sizes # # Optional part for file upload max sizes
# - 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
#networks: #networks:
# proxy: # proxy: