Merge pull request #44 from eitchtee/new_datepicker

docker: remove YAML anchor and merge directives from docker-compose.prod.yml
This commit is contained in:
Herculino Trotta
2025-01-16 09:24:06 -03:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ ROOT_DIR = Path(__file__).resolve().parent.parent.parent
# See https://docs.djangoproject.com/en/5.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "django-insecure-##6^&g49xwn7s67xc&33vf&=*4ibqfzn#xa*p-1sy8ag+zjjb9"
SECRET_KEY = os.getenv("SECRET_KEY", "")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv("DEBUG", "false").lower() == "true"

View File

@@ -1,5 +1,5 @@
services:
web: &django
web:
image: eitchtee/wygiwyh:latest
container_name: ${SERVER_NAME}
command: /start
@@ -23,10 +23,11 @@ services:
- POSTGRES_DB=${SQL_DATABASE}
procrastinate:
<<: *django
image: eitchtee/wygiwyh:latest
container_name: ${PROCRASTINATE_NAME}
depends_on:
- db
ports: [ ]
env_file:
- .env
command: /start-procrastinate
restart: unless-stopped