services: app: build: context: ./ target: prod restart: unless-stopped env_file: ./.env depends_on: - db ports: - 127.0.0.1:8313:80 db: image: postgres:16 restart: unless-stopped env_file: ./.env volumes: - ./data/db:/var/lib/postgresql/data