mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +10:00
Add compose for db and statping
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user