add:add traefik in override
Some checks failed
Deploy to Staging / deploy (push) Has been cancelled
Lint Backend / lint-backend (push) Has been cancelled
Playwright Tests / changes (push) Has been cancelled
Playwright Tests / test-playwright (1, 4) (push) Has been cancelled
Playwright Tests / test-playwright (2, 4) (push) Has been cancelled
Playwright Tests / test-playwright (3, 4) (push) Has been cancelled
Playwright Tests / test-playwright (4, 4) (push) Has been cancelled
Playwright Tests / merge-playwright-reports (push) Has been cancelled
Playwright Tests / alls-green-playwright (push) Has been cancelled
Test Backend / test-backend (push) Has been cancelled
Test Docker Compose / test-docker-compose (push) Has been cancelled
Issue Manager / issue-manager (push) Has been cancelled
Some checks failed
Deploy to Staging / deploy (push) Has been cancelled
Lint Backend / lint-backend (push) Has been cancelled
Playwright Tests / changes (push) Has been cancelled
Playwright Tests / test-playwright (1, 4) (push) Has been cancelled
Playwright Tests / test-playwright (2, 4) (push) Has been cancelled
Playwright Tests / test-playwright (3, 4) (push) Has been cancelled
Playwright Tests / test-playwright (4, 4) (push) Has been cancelled
Playwright Tests / merge-playwright-reports (push) Has been cancelled
Playwright Tests / alls-green-playwright (push) Has been cancelled
Test Backend / test-backend (push) Has been cancelled
Test Docker Compose / test-docker-compose (push) Has been cancelled
Issue Manager / issue-manager (push) Has been cancelled
This commit is contained in:
@@ -5,45 +5,45 @@ services:
|
||||
# http://dashboard.localhost.tiangolo.com: frontend
|
||||
# etc. To enable it, update .env, set:
|
||||
# DOMAIN=localhost.tiangolo.com
|
||||
# proxy:
|
||||
# image: traefik:3.0
|
||||
# volumes:
|
||||
# - /var/run/docker.sock:/var/run/docker.sock
|
||||
# ports:
|
||||
# - "80:80"
|
||||
# - "8090:8080"
|
||||
# # Duplicate the command from docker-compose.yml to add --api.insecure=true
|
||||
# command:
|
||||
# # Enable Docker in Traefik, so that it reads labels from Docker services
|
||||
# - --providers.docker
|
||||
# # Add a constraint to only use services with the label for this stack
|
||||
# - --providers.docker.constraints=Label(`traefik.constraint-label`, `traefik-public`)
|
||||
# # Do not expose all Docker services, only the ones explicitly exposed
|
||||
# - --providers.docker.exposedbydefault=false
|
||||
# # Create an entrypoint "http" listening on port 80
|
||||
# - --entrypoints.http.address=:80
|
||||
# # Create an entrypoint "https" listening on port 443
|
||||
# - --entrypoints.https.address=:443
|
||||
# # Enable the access log, with HTTP requests
|
||||
# - --accesslog
|
||||
# # Enable the Traefik log, for configurations and errors
|
||||
# - --log
|
||||
# # Enable debug logging for local development
|
||||
# - --log.level=DEBUG
|
||||
# # Enable the Dashboard and API
|
||||
# - --api
|
||||
# # Enable the Dashboard and API in insecure mode for local development
|
||||
# - --api.insecure=true
|
||||
# labels:
|
||||
# # Enable Traefik for this service, to make it available in the public network
|
||||
# - traefik.enable=true
|
||||
# - traefik.constraint-label=traefik-public
|
||||
# # Dummy https-redirect middleware that doesn't really redirect, only to
|
||||
# # allow running it locally
|
||||
# - traefik.http.middlewares.https-redirect.contenttype.autodetect=false
|
||||
# networks:
|
||||
# - traefik-public
|
||||
# - default
|
||||
proxy:
|
||||
image: traefik:3.0
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ports:
|
||||
- "80:80"
|
||||
- "8090:8080"
|
||||
# Duplicate the command from docker-compose.yml to add --api.insecure=true
|
||||
command:
|
||||
# Enable Docker in Traefik, so that it reads labels from Docker services
|
||||
- --providers.docker
|
||||
# Add a constraint to only use services with the label for this stack
|
||||
- --providers.docker.constraints=Label(`traefik.constraint-label`, `traefik-public`)
|
||||
# Do not expose all Docker services, only the ones explicitly exposed
|
||||
- --providers.docker.exposedbydefault=false
|
||||
# Create an entrypoint "http" listening on port 80
|
||||
- --entrypoints.http.address=:80
|
||||
# Create an entrypoint "https" listening on port 443
|
||||
- --entrypoints.https.address=:443
|
||||
# Enable the access log, with HTTP requests
|
||||
- --accesslog
|
||||
# Enable the Traefik log, for configurations and errors
|
||||
- --log
|
||||
# Enable debug logging for local development
|
||||
- --log.level=DEBUG
|
||||
# Enable the Dashboard and API
|
||||
- --api
|
||||
# Enable the Dashboard and API in insecure mode for local development
|
||||
- --api.insecure=true
|
||||
labels:
|
||||
# Enable Traefik for this service, to make it available in the public network
|
||||
- traefik.enable=true
|
||||
- traefik.constraint-label=traefik-public
|
||||
# Dummy https-redirect middleware that doesn't really redirect, only to
|
||||
# allow running it locally
|
||||
- traefik.http.middlewares.https-redirect.contenttype.autodetect=false
|
||||
networks:
|
||||
- traefik-public
|
||||
- default
|
||||
|
||||
db:
|
||||
restart: "no"
|
||||
|
||||
Reference in New Issue
Block a user