backend-development-course/docker-compose.yaml

26 lines
394 B
YAML
Raw Permalink Normal View History

2024-09-25 15:01:49 +03:00
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
2024-12-29 18:21:37 +02:00
- app.env
depends_on:
- db
db:
restart: unless-stopped
image: postgres:17.2-alpine3.21
env_file:
- db.env