services: api: build: context: . dockerfile: Dockerfile.api ports: - "8000:8000" environment: - APP_PATH=/home/user/api-copp - DEBUG=True - DB_HOST=192.168.1.11 - DB_PORT=5432 - DB_USER=admin1 - DB_PASS=Y6%r35RpckeP^F - DB_NAME=profi # Redis connection (external) - REDIS_HOST=192.168.1.19 - REDIS_PORT=6379 - REDIS_DB=0 - REDIS_PASSWORD=CNXpuhMdxXHo7ZK8bhtXDvgXVZcjRn volumes: - ./data:/app/data web: build: context: ./web dockerfile: ../Dockerfile.web ports: - "3000:80" depends_on: - api volumes: - ./web:/usr/share/nginx/html:ro