21 lines
No EOL
424 B
YAML
21 lines
No EOL
424 B
YAML
version: "3"
|
|
|
|
services:
|
|
web:
|
|
build: ./markdownblog/
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- ./markdownblog:/markdownblog
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
- envvars.env
|
|
command: python3 manage.py runserver_plus --cert-file cert.pem --key-file key.pem --keep-meta-shutdown 0.0.0.0:8000
|
|
|
|
db:
|
|
image: postgres:14.3-alpine
|
|
ports:
|
|
- "5432:5432"
|
|
env_file:
|
|
- envvars.env |