Remove unnecessary volumes

This commit is contained in:
juarez 2023-04-27 10:52:25 +02:00
parent 04cf5128b0
commit 5e376b17ad
2 changed files with 15 additions and 16 deletions

View File

@ -35,7 +35,7 @@ services:
- opal-db - opal-db
environment: environment:
JAVA_OPTS: "-Xms1G -Xmx8G -XX:+UseG1GC" JAVA_OPTS: "-Xms1G -Xmx8G -XX:+UseG1GC"
# OPAL_ADMINISTRATOR_USER: "administrator" # OPAL_ADMINISTRATOR_USER: "administrator" # Please, don't remove this line. It is informative.
OPAL_ADMINISTRATOR_PASSWORD: "${OPAL_ADMINISTRATOR_PASSWORD}" OPAL_ADMINISTRATOR_PASSWORD: "${OPAL_ADMINISTRATOR_PASSWORD}"
POSTGRESDATA_HOST: "opal-db" POSTGRESDATA_HOST: "opal-db"
POSTGRESDATA_DATABASE: "opal" POSTGRESDATA_DATABASE: "opal"
@ -45,8 +45,8 @@ services:
APP_URL: "https://${HOST}/opal" APP_URL: "https://${HOST}/opal"
APP_CONTEXT_PATH: "/opal" APP_CONTEXT_PATH: "/opal"
# volumes: # volumes:
# - "bridgehead-opal:/srv" # - "bridgehead-opal:/srv"
opal-db: # Data opal-db: # Data
@ -56,8 +56,8 @@ services:
POSTGRES_PASSWORD: "${OPAL_DB_PASSWORD}" POSTGRES_PASSWORD: "${OPAL_DB_PASSWORD}"
POSTGRES_USER: "opal" POSTGRES_USER: "opal"
POSTGRES_DB: "opal" POSTGRES_DB: "opal"
volumes: # volumes:
- "bridgehead-opal-db:/var/lib/postgresql/data" # - "bridgehead-opal-db:/var/lib/postgresql/data"
opal-rserver: opal-rserver:
container_name: bridgehead-opal-rserver container_name: bridgehead-opal-rserver
@ -75,7 +75,7 @@ services:
DISCOVERY_URL: "./map/central.json" DISCOVERY_URL: "./map/central.json"
LOCAL_TARGETS_FILE: "./map/local.json" LOCAL_TARGETS_FILE: "./map/local.json"
depends_on: depends_on:
- "beam-proxy" - beam-proxy
volumes: volumes:
- /etc/bridgehead/datashield-connect/:/map:ro - /etc/bridgehead/datashield-connect/:/map:ro
@ -84,12 +84,12 @@ services:
APP_2_ID: datashield-connect APP_2_ID: datashield-connect
APP_2_KEY: ${DATASHIELD_CONNECT_SECRET} APP_2_KEY: ${DATASHIELD_CONNECT_SECRET}
volumes: #volumes:
# bridgehead-rstudio-config: # bridgehead-rstudio-config:
# name: "bridgehead-rstudio-config" # name: "bridgehead-rstudio-config"
# bridgehead-rstudio-workspace: # bridgehead-rstudio-workspace:
# name: "bridgehead-rstudio-workspace" # name: "bridgehead-rstudio-workspace"
bridgehead-opal-db: # bridgehead-opal-db:
name: "bridgehead-opal-db" # name: "bridgehead-opal-db"
# bridgehead-opal: # bridgehead-opal:
# name: "bridgehead-opal" # name: "bridgehead-opal"

View File

@ -23,12 +23,10 @@ services:
- "traefik.http.routers.exporter_ccp.rule=PathPrefix(`/ccp-exporter`)" - "traefik.http.routers.exporter_ccp.rule=PathPrefix(`/ccp-exporter`)"
- "traefik.http.services.exporter_ccp.loadbalancer.server.port=8092" - "traefik.http.services.exporter_ccp.loadbalancer.server.port=8092"
- "traefik.http.routers.exporter_ccp.tls=true" - "traefik.http.routers.exporter_ccp.tls=true"
# TODO: Add basic auth in Teiler UI to access exporter?
#- "traefik.http.routers.exporter_ccp.middlewares=auth"
- "traefik.http.middlewares.exporter_ccp_strip.stripprefix.prefixes=/ccp-exporter" - "traefik.http.middlewares.exporter_ccp_strip.stripprefix.prefixes=/ccp-exporter"
- "traefik.http.routers.exporter_ccp.middlewares=exporter_ccp_strip" - "traefik.http.routers.exporter_ccp.middlewares=exporter_ccp_strip"
volumes: # volumes:
- "bridgehead-exporter:/app/exporter-files" # - "bridgehead-exporter:/app/exporter-files"
exporter-db: exporter-db:
image: postgres:15.1-alpine image: postgres:15.1-alpine
@ -38,11 +36,12 @@ 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:
# TODO: Move to logging component in bridgehead
- "bridgehead-exporter-db:/var/lib/postgresql/data" - "bridgehead-exporter-db:/var/lib/postgresql/data"
volumes: volumes:
bridgehead-exporter-db: bridgehead-exporter-db:
name: "bridgehead-exporter-db" name: "bridgehead-exporter-db"
bridgehead-exporter: # bridgehead-exporter:
name: "bridgehead-exporter" # name: "bridgehead-exporter"