version: '3.7' services: backend: image: registry.digitalocean.com/frlr/opday/02-backend:${BACKEND_TAG} build: '!reset null' command: uvicorn app:app --host 0.0.0.0 --port 8000 restart: unless-stopped ports: - "8000:8000" volumes: !reset [] environment: ENVIRONMENT: prod DATABASE_URL: psycopg2://postgres:postgres@postgres:5432/postgres nginx: image: registry.digitalocean.com/frlr/opday/02-nginx:${NGINX_TAG} build: '!reset null' ports: - "80:80" - "443:443"