Fixed docker-compose for gbn

This commit is contained in:
Patrick Skowronek 2022-05-23 16:05:56 +02:00
parent aa5cf9b3bc
commit 8cc5e66400
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ volumes:
services:
traefik:
container_name: bridgehead-traefik
image: traefik:2.4
image: traefik:latest
command:
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
@ -87,12 +87,14 @@ services:
- "traefik.enable=true"
- "traefik.http.routers.gbn_connector.rule=PathPrefix(`/gbn-connector`)"
- "traefik.http.services.gbn_connector.loadbalancer.server.port=8080"
- "traefik.http.routers.gbn_connector.tls=true"
depends_on:
- "gbn-connector-db"
restart: "always"
gbn-connector-db:
image: "postgres:10.17"
container_name: "bridgehead-gbn-connector-db"
environment:
POSTGRES_DB: "samply.connector"
POSTGRES_USER: "samply"