- Replace environment section in docker-compose.yml with env_file directive - Add all missing environment variables to config.py - Update env.example with proper variable definitions - Create .env file from env.example - Ensure all variables are properly loaded from .env file
24 lines
440 B
YAML
24 lines
440 B
YAML
services:
|
|
logboard:
|
|
build: .
|
|
container_name: logboard
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "${LOGBOARD_PORT}:${LOGBOARD_PORT}"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- ./snapshots:/app/snapshots
|
|
- ./:/app
|
|
restart: unless-stopped
|
|
user: 0:0
|
|
networks:
|
|
- iaas
|
|
- infrastructure_iaas
|
|
|
|
networks:
|
|
iaas:
|
|
external: true
|
|
infrastructure_iaas:
|
|
external: true
|