docker: cleanup examples

This commit is contained in:
Herculino Trotta
2024-10-18 19:46:23 -03:00
parent 8c3dea074f
commit 696614ae50
3 changed files with 10 additions and 26 deletions

View File

@@ -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

View File

@@ -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:

View 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: