version: '3'
networks:
fooder:
driver: bridge
services:
database:
restart: unless-stopped
image: postgres
- fooder
env_file:
- .env
api:
image: registry.domandoman.xyz/fooder/api
build:
dockerfile: Dockerfile
context: .
ports:
- "8000:8000"