remove labels from service
This commit is contained in:
parent
9865c08b1b
commit
8c65046817
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,6 +4,8 @@ src/mediafiles/
|
|||||||
src/static/
|
src/static/
|
||||||
src/media
|
src/media
|
||||||
|
|
||||||
|
test-compose.yml
|
||||||
|
|
||||||
.venv
|
.venv
|
||||||
.idea
|
.idea
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
@ -15,11 +15,11 @@ services:
|
|||||||
- ./deployment/scripts:/app/deployment/scripts/
|
- ./deployment/scripts:/app/deployment/scripts/
|
||||||
- static_files:/usr/src/app/static
|
- static_files:/usr/src/app/static
|
||||||
- media_files:/usr/src/app/media
|
- media_files:/usr/src/app/media
|
||||||
labels:
|
# labels:
|
||||||
- "traefik.enable=true"
|
# - "traefik.enable=true"
|
||||||
- "traefik.http.routers.${APP_NAME}-backend.rule=Host(`${APP_DOMAIN}`)"
|
# - "traefik.http.routers.${APP_NAME}-backend.rule=Host(`${APP_DOMAIN}`)"
|
||||||
- "traefik.http.routers.${APP_NAME}-backend.entrypoints=web"
|
# - "traefik.http.routers.${APP_NAME}-backend.entrypoints=web"
|
||||||
- "traefik.http.services.${APP_NAME}-backend.loadbalancer.server.port=${APP_PORT}"
|
# - "traefik.http.services.${APP_NAME}-backend.loadbalancer.server.port=${APP_PORT}"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
expose:
|
expose:
|
||||||
- "${APP_PORT:-8000}"
|
- "${APP_PORT:-8000}"
|
||||||
@ -96,10 +96,10 @@ services:
|
|||||||
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
|
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
|
||||||
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
|
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
|
||||||
- "--entrypoints.websecure.address=:443"
|
- "--entrypoints.websecure.address=:443"
|
||||||
- "--certificatesresolvers.myresolver.acme.httpchallenge=true"
|
- "--certificatesresolvers.letsencrypt.acme.email=${LETSENCRYPT_EMAIL}"
|
||||||
- "--certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=web"
|
- "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
||||||
- "--certificatesresolvers.myresolver.acme.email=${LETSENCRYPT_EMAIL}"
|
- "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
|
||||||
- "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json"
|
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
Loading…
Reference in New Issue
Block a user