23 lines
No EOL
446 B
YAML
23 lines
No EOL
446 B
YAML
version: "3"
|
|
|
|
services:
|
|
web:
|
|
build: ./markdownblog/
|
|
depends_on:
|
|
- db
|
|
volumes:
|
|
- ./markdownblog:/markdownblog
|
|
# mount lets encrypt cert pem file
|
|
- ./cloud-cdaut-de-chain.pem:/le_cert.pem
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
- envvars.env
|
|
command: python3 manage.py runserver 0.0.0.0:8000
|
|
|
|
db:
|
|
image: postgres:14.3-alpine
|
|
ports:
|
|
- "5432:5432"
|
|
env_file:
|
|
- envvars.env |