version: '3' services: app: restart: unless-stopped build: context: . dockerfile: Dockerfile environment: PORT: "12402" ports: - "12402:12402" volumes: - ./app:/app/app env_file: - db.env - app.env depends_on: - db db: restart: unless-stopped image: postgres:17.2-alpine3.21 env_file: - db.env