services: frontend: build: . ports: - "8000:8000" environment: DATABASE_URL: postgres://reset_sender_v2:reset_sender_v2@postgres:5432/reset_sender_v2 postgres: image: postgres:14-alpine volumes: - postgres_data:/var/lib/postgresql/data/ environment: POSTGRES_DB: reset_sender_v2 POSTGRES_USER: reset_sender_v2 POSTGRES_PASSWORD: reset_sender_v2 restart: unless-stopped ports: - '5432:5432' volumes: postgres_data: