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