Change volume names for teiler components

This commit is contained in:
juarez 2023-03-22 13:13:04 +01:00
parent e89279925d
commit c851e00af1
1 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ services:
- "traefik.http.routers.exporter_ccp.tls=true" - "traefik.http.routers.exporter_ccp.tls=true"
- "traefik.http.routers.exporter_ccp.middlewares=auth" - "traefik.http.routers.exporter_ccp.middlewares=auth"
volumes: volumes:
- "exporter:/app/exporter-files" - "bridgehead-exporter:/app/exporter-files"
exporter-db: exporter-db:
image: postgres:15.1-alpine image: postgres:15.1-alpine
@ -32,11 +32,11 @@ services:
POSTGRES_PASSWORD: "${EXPORTER_DB_PASSWORD}" # Set in exporter-setup.sh POSTGRES_PASSWORD: "${EXPORTER_DB_PASSWORD}" # Set in exporter-setup.sh
POSTGRES_DB: "exporter" POSTGRES_DB: "exporter"
volumes: volumes:
- "exporter-db:/var/lib/postgresql/data" - "bridgehead-exporter-db:/var/lib/postgresql/data"
volumes: volumes:
exporter-db: bridgehead-exporter-db:
name: "exporter-db" name: "bridgehead-exporter-db"
exporter: bridgehead-exporter:
name: "exporter" name: "bridgehead-exporter"