Update docker-compose.pro.yaml
This commit is contained in:
parent
56d82dc851
commit
3354a1bce6
@ -2,17 +2,6 @@ version: '3.1'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
db:
|
|
||||||
image: postgres
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- ./../postgres_data:/var/lib/postgresql/data
|
|
||||||
environment:
|
|
||||||
POSTGRES_DB: guitarlions
|
|
||||||
POSTGRES_PASSWORD: postgres
|
|
||||||
expose:
|
|
||||||
- 5432
|
|
||||||
|
|
||||||
django:
|
django:
|
||||||
build: ./
|
build: ./
|
||||||
restart: always
|
restart: always
|
||||||
@ -23,11 +12,7 @@ services:
|
|||||||
DEBUG: "False"
|
DEBUG: "False"
|
||||||
ALLOWED_HOSTS: ""
|
ALLOWED_HOSTS: ""
|
||||||
SECRET_KEY: "secret"
|
SECRET_KEY: "secret"
|
||||||
DB_HOST: db
|
DB: "../database.sqlite"
|
||||||
DB_NAME: "guitarlions"
|
|
||||||
DB_USER: "postgres"
|
|
||||||
DB_PASSWORD: "postgres"
|
|
||||||
DB_PORT: "5432"
|
|
||||||
DOMAIN: ""
|
DOMAIN: ""
|
||||||
DOMAIN_URL: "https://"
|
DOMAIN_URL: "https://"
|
||||||
STATIC_URL: "/static/"
|
STATIC_URL: "/static/"
|
||||||
@ -41,8 +26,6 @@ services:
|
|||||||
EMAIL_PASSWORD: ""
|
EMAIL_PASSWORD: ""
|
||||||
expose:
|
expose:
|
||||||
- 8000
|
- 8000
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy:alpine
|
image: caddy:alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user