lwb6-in-2025/docker/compose.yml

40 lines
770 B
YAML

name: lwb6
services:
backend:
build:
context: ..
dockerfile: docker/Dockerfile.application
target: backend
restart: always
environment:
LW_CONFIGURE: 1
LW_DB_HOST: db
LW_DB_NAME: lwb6
LW_DB_USER: lwb6
LW_DB_PASSWORD_FILE: /run/secrets/lw_db_password
secrets:
- lw_db_password
web-main:
build:
context: ..
dockerfile: docker/Dockerfile.application
target: lwmain
restart: always
environment:
LW_BACKEND_HOST: backend
web-admin:
build:
context: ..
dockerfile: docker/Dockerfile.application
target: lwadmin
restart: always
environment:
LW_BACKEND_HOST: backend
secrets:
lw_db_password:
environment: LW_DB_PASSWORD