File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ services:
23
23
- " traefik.enable=true"
24
24
- " traefik.http.middlewares.guestbook-ratelimit.ratelimit.average=20"
25
25
- " traefik.http.routers.guestbook.rule=Host(`zenful.cloud`) && !Method(`POST`)"
26
+ - " traefik.http.services.guestbook.loadbalancer.server.port=8080"
26
27
- " traefik.http.routers.guestbook.entrypoints=websecure"
27
28
- " traefik.http.routers.guestbook.tls.certresolver=myresolver"
28
29
- " traefik.http.routers.guestbook.middlewares=guestbook-ratelimit"
@@ -53,10 +54,9 @@ services:
53
54
replicas : 3
54
55
restart : always
55
56
depends_on :
56
- db :
57
- condition : service_healthy
57
+ - db
58
58
db :
59
- image : postgres
59
+ image : postgres:16
60
60
restart : always
61
61
user : postgres
62
62
volumes :
@@ -78,4 +78,4 @@ volumes:
78
78
letsencrypt :
79
79
secrets :
80
80
db-password :
81
- file : ${DB_PASSWORD_PATH:-./db-password.txt}
81
+ external : true
You can’t perform that action at this time.
0 commit comments