forked from sunwoo1524/krll
19 lines
262 B
YAML
19 lines
262 B
YAML
|
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
|