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