Add compose for db and statping

This commit is contained in:
2019-07-12 15:23:07 +10:00
parent 57ae05d201
commit 6b0d332b8e
2 changed files with 16 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
postgres:
image: postgres:11
restart: unless-stopped
ports:
- 54322:5432
volumes:
- /mnt/data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: @wahyd4
POSTGRES_DB: home
+6 -1
View File
@@ -7,4 +7,9 @@ statping:
volumes:
- /mnt/statping:/app
environment:
DB_CONN: sqlite
DB_CONN: postgres
DB_HOST: home.toozhao.com
DB_USER: postgres
DB_PASS: @wahyd4
DB_DATABASE: statping
NAME: JUNV 🏡 Status