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: services:
postgresql:
image: postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: sapps
expose:
- 5432
django: django:
build: build:
context: ./ context: ./
@ -34,6 +44,8 @@ services:
EMAIL_PASSWORD: "" EMAIL_PASSWORD: ""
expose: expose:
- 8000 - 8000
depends_on:
- postgresql
caddy: caddy:
image: caddy:alpine image: caddy:alpine