feat(platform): add production CI and containers
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Production Compose example only. Store the real file outside the repository with mode 0600.
|
||||
# Use an immutable sha-<full-commit> tag. The moving main tag is for convenience, not rollback.
|
||||
LAB_IMAGE=git.sechmachine.io.vn/sechmachine/labtimesheet:sha-replace-with-full-commit
|
||||
|
||||
# The app is intended to sit behind an HTTPS reverse proxy on the same host.
|
||||
LAB_HTTP_BIND=127.0.0.1
|
||||
LAB_HTTP_PORT=8080
|
||||
LAB_PUBLIC_ORIGIN=https://timesheet.example.edu
|
||||
LAB_FORWARD_HEADERS_STRATEGY=framework
|
||||
LAB_SECURITY_MASTER_KEY=replace-with-base64-encoded-32-byte-key
|
||||
|
||||
# Bundled mode uses the Compose service name. For external mode, replace this URL and credentials.
|
||||
LAB_DB_URL=jdbc:postgresql://postgres:5432/labtimesheet
|
||||
LAB_DB_USERNAME=labtimesheet
|
||||
LAB_DB_PASSWORD=replace-with-database-password
|
||||
|
||||
# Used only when the bundled-db profile is enabled.
|
||||
POSTGRES_DB=labtimesheet
|
||||
POSTGRES_USER=labtimesheet
|
||||
POSTGRES_PASSWORD=replace-with-the-same-database-password
|
||||
Reference in New Issue
Block a user