Created
December 10, 2021 10:38
-
-
Save ttamg/ccf3129e8912d3c58c4211f891927e90 to your computer and use it in GitHub Desktop.
Update backend to receive from Traefik
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend: | |
build: . | |
ports: | |
- 8999:80 | |
env_file: .env | |
restart: unless-stopped | |
labels: | |
- "traefik.enable=true" | |
- "traefik.http.routers.backend.rule=Host(`app.example.com`)" | |
- "traefik.http.routers.backend.entrypoints=websecure" | |
- "traefik.http.routers.backend.tls.certresolver=myresolver" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment