cleanup
This commit is contained in:
22
compose.yml
22
compose.yml
@ -61,13 +61,13 @@ x-common-env: &common-env
|
||||
|
||||
x-postgres-env: &postgres-env
|
||||
# Postgresql db container configuration
|
||||
POSTGRES_DB: docs
|
||||
POSTGRES_USER: docs
|
||||
POSTGRES_DB: drive
|
||||
POSTGRES_USER: drive
|
||||
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_p
|
||||
# App database configuration
|
||||
DB_HOST: db
|
||||
DB_NAME: docs
|
||||
DB_USER: docs
|
||||
DB_NAME: drive
|
||||
DB_USER: drive
|
||||
DB_PORT: 5432
|
||||
# DB_PASSWORD supplied via secrets (this is same as POSTGRES_PASSWORD)
|
||||
|
||||
@ -80,17 +80,13 @@ services:
|
||||
app:
|
||||
user: "${DOCKER_USER:-1000}"
|
||||
image: lasuite/drive-frontend:v0.10.1
|
||||
# volumes:
|
||||
# - ./src/frontend/:/home/frontend/
|
||||
# - /home/frontend/node_modules
|
||||
# - /home/frontend/apps/drive/node_modules
|
||||
networks:
|
||||
- backend
|
||||
deploy:
|
||||
labels:
|
||||
- "traefik.enable=false"
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.4+v4.0.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.2.4+v0.10.1"
|
||||
environment:
|
||||
<<: [ *common-env ]
|
||||
healthcheck:
|
||||
@ -109,10 +105,6 @@ services:
|
||||
entrypoint: [ "/abra-entrypoint.sh", "/usr/local/bin/entrypoint" ]
|
||||
environment:
|
||||
<<: [ *common-env, *postgres-env ]
|
||||
# volumes:
|
||||
# - ./src/backend:/app
|
||||
# - ./data/static:/data/static
|
||||
# - /app/.venv
|
||||
networks:
|
||||
- backend
|
||||
depends_on:
|
||||
@ -139,10 +131,6 @@ services:
|
||||
entrypoint: ["/abra-entrypoint.sh", "/usr/local/bin/entrypoint"]
|
||||
environment:
|
||||
<<: [*common-env, *postgres-env]
|
||||
# volumes:
|
||||
# - ./src/backend:/app
|
||||
# - ./data/static:/data/static
|
||||
# - /app/.venv
|
||||
configs:
|
||||
- source: abra_entrypoint
|
||||
target: /abra-entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user