Refactor docker-compose.yml to expose port 5432 and add traefik.tcp.middlewares.test-inflightconn.inflightconn.burst label
This commit is contained in:
@@ -53,13 +53,14 @@ services:
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
ports:
|
||||
- "5432:5432"
|
||||
expose:
|
||||
- 5432
|
||||
networks:
|
||||
- net
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.tcp.middlewares.test-inflightconn.inflightconn.amount=10"
|
||||
- "traefik.tcp.middlewares.test-inflightconn.inflightconn.burst=10"
|
||||
- "traefik.tcp.routers.postgres.entrypoints=postgres-socket"
|
||||
- "traefik.tcp.routers.postgres.rule=HostSNIRegexp(`^.+\\.furyhawk\\.lol$`)"
|
||||
- "traefik.tcp.routers.postgres.middlewares=test-inflightconn"
|
||||
|
||||
Reference in New Issue
Block a user