Update docker-compose.pro.yaml
This commit is contained in:
parent
cece49079c
commit
5199fd4fb6
1 changed files with 12 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue