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