pull/10/head
Hunter Long 2018-06-23 20:57:39 -07:00
parent 781837efa5
commit cc90e8cfcd
2 changed files with 6 additions and 7 deletions

View File

@ -20,7 +20,7 @@ services:
- ./statup/nginx/html:/usr/share/nginx/html - ./statup/nginx/html:/usr/share/nginx/html
- ./statup/nginx/dhparam:/etc/nginx/dhparam - ./statup/nginx/dhparam:/etc/nginx/dhparam
environment: environment:
DEFAULT_HOST: $DOMAIN DEFAULT_HOST: ${DOMAIN}
letsencrypt: letsencrypt:
container_name: letsencrypt container_name: letsencrypt
@ -47,9 +47,9 @@ services:
volumes: volumes:
- ./statup/app:/app - ./statup/app:/app
environment: environment:
VIRTUAL_HOST: $DOMAIN VIRTUAL_HOST: ${DOMAIN}
VIRTUAL_PORT: 8080 VIRTUAL_PORT: 8080
LETSENCRYPT_HOST: $DOMAIN LETSENCRYPT_HOST: ${DOMAIN}
LETSENCRYPT_EMAIL: info@socialeck.com LETSENCRYPT_EMAIL: info@socialeck.com
DB_CONN: postgres DB_CONN: postgres
DB_HOST: postgres DB_HOST: postgres
@ -57,7 +57,7 @@ services:
DB_PASS: password123 DB_PASS: password123
DB_DATABASE: statup DB_DATABASE: statup
NAME: SSL Example NAME: SSL Example
DESCRIPTION: This Status Status Page should be running $DOMAIN with SSL. DESCRIPTION: This Status Status Page should be running ${DOMAIN} with SSL.
postgres: postgres:
container_name: postgres container_name: postgres

View File

@ -1,8 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
DOMAIN="status.balancebadge.io" export DOMAIN="status.balancebadge.io"
EMAIL="info@socialeck.com" export EMAIL="info@socialeck.com"
sudo apt-get update sudo apt-get update
sudo apt-get install \ sudo apt-get install \