diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 0751abe901..4d4bf7a189 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -6,7 +6,7 @@ services: # etc. To enable it, update .env, set: # DOMAIN=localhost.tiangolo.com proxy: - image: traefik:3.0 + image: traefik:3.2 volumes: - /var/run/docker.sock:/var/run/docker.sock ports: diff --git a/docker-compose.traefik.yml b/docker-compose.traefik.yml index 886d6dcc2f..4b78c1382a 100644 --- a/docker-compose.traefik.yml +++ b/docker-compose.traefik.yml @@ -1,6 +1,6 @@ services: traefik: - image: traefik:3.0 + image: traefik:3.2 ports: # Listen on port 80, default for HTTP, necessary to redirect to HTTPS - 80:80 @@ -11,7 +11,7 @@ services: # Enable Traefik for this service, to make it available in the public network - traefik.enable=true # Use the traefik-public network (declared below) - - traefik.docker.network=traefik-public + - traefik.swarm.network=traefik-public # Define the port inside of the Docker service to use - traefik.http.services.traefik-dashboard.loadbalancer.server.port=8080 # Make Traefik use this domain (from an environment variable) in HTTP diff --git a/docker-compose.yml b/docker-compose.yml index c92d5d4451..db083af8fc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ services: db: - image: postgres:12 + image: postgres:17 restart: always healthcheck: test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"] @@ -31,7 +31,7 @@ services: - ADMINER_DESIGN=pepa-linha-dark labels: - traefik.enable=true - - traefik.docker.network=traefik-public + - traefik.swarm.network=traefik-public - traefik.constraint-label=traefik-public - traefik.http.routers.${STACK_NAME?Variable not set}-adminer-http.rule=Host(`adminer.${DOMAIN?Variable not set}`) - traefik.http.routers.${STACK_NAME?Variable not set}-adminer-http.entrypoints=http @@ -118,7 +118,7 @@ services: context: ./backend labels: - traefik.enable=true - - traefik.docker.network=traefik-public + - traefik.swarm.network=traefik-public - traefik.constraint-label=traefik-public - traefik.http.services.${STACK_NAME?Variable not set}-backend.loadbalancer.server.port=8000 @@ -147,7 +147,7 @@ services: - NODE_ENV=production labels: - traefik.enable=true - - traefik.docker.network=traefik-public + - traefik.swarm.network=traefik-public - traefik.constraint-label=traefik-public - traefik.http.services.${STACK_NAME?Variable not set}-frontend.loadbalancer.server.port=80