mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-18 02:31:21 +02:00
docker: cleanup examples
This commit is contained in:
+10
-11
@@ -1,20 +1,19 @@
|
|||||||
COMPOSE_FILE=
|
SERVER_NAME=wygiwyh_server
|
||||||
SERVER_NAME=
|
DB_NAME=wygiwyh_pg
|
||||||
DB_NAME=
|
PROCRASTINATE_NAME=wygiwyh_procrastinate
|
||||||
PROCRASTINATE_NAME=
|
|
||||||
|
|
||||||
DEBUG=true
|
DEBUG=false
|
||||||
URL = https://mais.alcanceconsulting.com.br
|
URL = https://...
|
||||||
HTTPS_ENABLED=true
|
HTTPS_ENABLED=true
|
||||||
SECRET_KEY=foo
|
SECRET_KEY=<GENERATE A SAFE SECRET KEY AND PLACE IT HERE>
|
||||||
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
|
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
|
||||||
OUTBOUND_PORT=9005
|
OUTBOUND_PORT=9005
|
||||||
|
|
||||||
SQL_ENGINE=django.db.backends.postgresql
|
SQL_ENGINE=django.db.backends.postgresql
|
||||||
SQL_DATABASE=alcance_mais
|
SQL_DATABASE=wygiwyh
|
||||||
SQL_USER=
|
SQL_USER=wygiwyh
|
||||||
SQL_PASSWORD=
|
SQL_PASSWORD=<INSERT A SAFE PASSWORD HERE>
|
||||||
SQL_HOST=alcance_mais_pg
|
SQL_HOST=${DB_NAME}
|
||||||
SQL_PORT=5432
|
SQL_PORT=5432
|
||||||
|
|
||||||
# Gunicorn
|
# Gunicorn
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
wygiwyh_dev_postgres_data: {}
|
wygiwyh_dev_postgres_data: {}
|
||||||
temp:
|
temp:
|
||||||
@@ -15,7 +13,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./app/:/usr/src/app/:z
|
- ./app/:/usr/src/app/:z
|
||||||
- ./frontend/:/usr/src/frontend:z
|
- ./frontend/:/usr/src/frontend:z
|
||||||
- temp:/temp
|
|
||||||
ports:
|
ports:
|
||||||
- "${OUTBOUND_PORT}:8000"
|
- "${OUTBOUND_PORT}:8000"
|
||||||
env_file:
|
env_file:
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
version: '3.8'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
web: &django
|
web: &django
|
||||||
build:
|
build:
|
||||||
@@ -8,8 +6,6 @@ services:
|
|||||||
image: ${SERVER_NAME}
|
image: ${SERVER_NAME}
|
||||||
container_name: ${SERVER_NAME}
|
container_name: ${SERVER_NAME}
|
||||||
command: /start
|
command: /start
|
||||||
volumes:
|
|
||||||
- temp:/temp
|
|
||||||
ports:
|
ports:
|
||||||
- "${OUTBOUND_PORT}:8000"
|
- "${OUTBOUND_PORT}:8000"
|
||||||
env_file:
|
env_file:
|
||||||
@@ -38,11 +34,3 @@ services:
|
|||||||
ports: [ ]
|
ports: [ ]
|
||||||
command: /start-procrastinate
|
command: /start-procrastinate
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
name: compose_default
|
|
||||||
external: true
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
temp:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user