Update docker-compose.staging.yaml

This commit is contained in:
Andros Fenollosa 2021-10-21 14:58:56 +02:00 committed by GitHub
parent 5199fd4fb6
commit 92d60ee62a
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