This repository has been archived on 2021-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
statping/docker-compose.yaml

36 lines
779 B
YAML

version: '3'
services:
postgres:
image: postgres:latest
environment:
- POSTGRES_USER=statping
- POSTGRES_PASSWORD
- POSTGRES_DB=statping
volumes:
- ./data/postgres:/var/lib/postgresql/data/
restart: always
healthcheck:
test: pg_isready -U statping -d statping
interval: 10s
timeout: 5s
retries: 5
statping:
restart: always
image: statping/statping:latest
environment:
- DB_CONN=postgres
- DB_HOST=postgres
- DB_USER=statping
- DB_PASS=$POSTGRES_PASSWORD
- DB_DATABASE=statping
- NAME=bobastatus
- ADMIN_USER=bbaovanc
- ADMIN_PASSWORD
volumes:
- ./data/statping:/app
ports:
- 127.0.0.1:82:8080
depends_on:
- postgres