Update docker-compose.pro.yaml

This commit is contained in:
Andros Fenollosa 2021-10-21 14:56:37 +02:00 committed by GitHub
parent cece49079c
commit 5199fd4fb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,16 @@ version: '3.1'
services:
postgresql:
image: postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: sapps
expose:
- 5432
django:
build:
context: ./
@ -34,6 +44,8 @@ services:
EMAIL_PASSWORD: ""
expose:
- 8000
depends_on:
- postgresql
caddy:
image: caddy:alpine