Update docker-compose.staging.yaml
This commit is contained in:
parent
5199fd4fb6
commit
92d60ee62a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user