services: web: image: haedlessdev/corecontrol:latest ports: - "3000:3000" environment: JWT_SECRET: RANDOM_SECRET DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres" depends_on: - db - agent agent: image: haedlessdev/corecontrol-agent:latest environment: DATABASE_URL: "postgresql://postgres:postgres@db:5432/postgres" db: image: postgres:17 restart: always environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: postgres volumes: - postgres_data:/var/lib/postgresql/data volumes: postgres_data: