2 lab
This commit is contained in:
+11
-7
@@ -1,11 +1,15 @@
|
||||
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
|
||||
# These are logical interface suggestions; map actual framework names in REPORT.md.
|
||||
# Copy to .env for the local synthetic stand. Do not commit .env.
|
||||
# Passwords below are local lab placeholders, not production secrets.
|
||||
COMPOSE_PROJECT_NAME=mtusilab2
|
||||
APP_HOST=0.0.0.0
|
||||
APP_PORT=8080
|
||||
APP_ENV=lab
|
||||
SESSION_TTL_SECONDS=3600
|
||||
# Choose credentials locally. File paths contain no secret values.
|
||||
DATABASE_URL_FILE=/run/secrets/database_url
|
||||
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
|
||||
SESSION_STORE=postgres
|
||||
CACHE_URL_FILE=/run/secrets/cache_url
|
||||
SESSION_STORE=redis
|
||||
POSTGRES_USER=messenger
|
||||
POSTGRES_PASSWORD=labpgpass
|
||||
POSTGRES_DB=messenger
|
||||
REDIS_PASSWORD=labredispass
|
||||
DATABASE_URL=postgres://messenger:labpgpass@postgres:5432/messenger?sslmode=disable
|
||||
CACHE_URL=redis://:labredispass@redis:6379/0
|
||||
MIGRATIONS_DIR=/migrations
|
||||
|
||||
Reference in New Issue
Block a user