mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 02:10:05 +00:00 
			
		
		
		
	- Move entrypoint to files/ and deploy via copy - Parameterize APP_KEY_FILE, data dir, and entrypoint paths - Require explicit PORT/PG envs (remove fallbacks) - Drop stray header from config/main.yml - Dockerfile: use templated data dir & entrypoint; keep node user - Compose: set custom image, adjust volume mapping - env: derive APP_SCHEME from WEB_PROTOCOL; NODE_ENV from ENVIRONMENT - tasks: add 01_core and simplify main to include it Ref: https://chatgpt.com/share/68b851c5-4dd8-800f-8e9e-22b985597b8f
		
			
				
	
	
		
			17 lines
		
	
	
		
			486 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			486 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
| # App basics
 | |
| APP_SCHEME="{{ WEB_PROTOCOL }}"
 | |
| APP_DOMAIN="{{ CHESS_HOSTNAME }}"
 | |
| APP_ADMIN_URL="{{ CHESS_ADMIN_URL }}"
 | |
| APP_ADMIN_EMAIL="{{ CHESS_ADMIN_EMAIL }}"
 | |
| APP_KEY_FILE="{{ CHESS_APP_KEY_FILE }}"
 | |
| APP_HMAC_SECRET="{{ CHESS_HMAC_SECRET }}"
 | |
| NODE_ENV="{{ ENVIRONMENT }}"
 | |
| PORT="{{ container_port }}"
 | |
| 
 | |
| # PostgreSQL (libpq envs)
 | |
| PGHOST="{{ database_host }}"
 | |
| PGPORT="{{ database_port }}"
 | |
| PGDATABASE="{{ database_name }}"
 | |
| PGUSER="{{ database_username }}"
 | |
| PGPASSWORD="{{ database_password }}"
 |