-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deployment steps #16
Comments
I fought around with this tonight and created a simple version: '3.7'
services:
db:
image: postgres:14
environment:
POSTGRES_PASSWORD: password
restart: unless-stopped
volumes:
- datavolume:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
app:
build: .
ports:
- 8080:8080
depends_on:
db:
condition: service_healthy
environment:
HOST: "0.0.0.0"
ENFORCEMFA: "true"
ENCRYPTIONKEY: "changeme"
DBTYPE: "postgres"
DBDSN: "host=db user=postgres password=password database=postgres port=5432"
ENFORCEMFA: "true"
VPNCHECKPASSWORD: "changeme"
OAUTH2PROVIDER: "changeme"
OAUTH2CLIENTID: "changeme"
OAUTH2CLIENTSECRET: "changeme"
REDIRECTDOMAIN: "https://vpn.mycompany.com"
ADMINEMAIL: "[email protected]"
VAPIDPUBLICKEY: "changeme"
VAPIDPRIVATEKEY: "changeme"
restart: unless-stopped
volumes:
datavolume:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you please add deployments steps ?
The text was updated successfully, but these errors were encountered: