krll/docker-compose.example.yml

19 lines
262 B
YAML
Raw Normal View History

2024-02-19 12:21:12 +09:00
version: "3"
services:
db:
image: postgres:latest
restart: always
env_file:
- ./.env
volumes:
- ./postgres:/var/lib/postgresql/data
web:
build: .
restart: always
ports:
- 8000:8000
depends_on:
- db