feat: allow to connect to databases through traefik
This commit is contained in:
parent
4259b1e3d2
commit
e00b44896f
3 changed files with 18 additions and 2 deletions
|
|
@ -49,6 +49,10 @@
|
|||
published: 443
|
||||
protocol: tcp
|
||||
mode: host
|
||||
- target: 5432
|
||||
published: 5432
|
||||
protocol: tcp
|
||||
mode: host
|
||||
- target: 8080
|
||||
published: 8080
|
||||
protocol: tcp
|
||||
|
|
@ -57,9 +61,11 @@
|
|||
- '--api.dashboard=true'
|
||||
- '--api.insecure=true'
|
||||
- '--entrypoints.http.address=:80'
|
||||
- '--entrypoints.http.asDefault=true'
|
||||
- '--entryPoints.http.forwardedHeaders.trustedIPs=10.0.10.0/24'
|
||||
- '--entrypoints.http.http.encodequerysemicolons=true'
|
||||
- '--entryPoints.http.http2.maxConcurrentStreams=50'
|
||||
- '--entrypoints.postgres.address=:5432'
|
||||
- '--providers.swarm=true'
|
||||
- '--providers.swarm.endpoint=tcp://{{ ansible_default_ipv4.address }}:2375'
|
||||
- '--providers.swarm.exposedByDefault=false'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue