asdf
This commit is contained in:
parent
45bb87aa6a
commit
539cd73bf4
2 changed files with 19 additions and 25 deletions
|
|
@ -19,11 +19,7 @@ services:
|
||||||
ENABLE_STARSHIP: "true" # Enable starship prompt
|
ENABLE_STARSHIP: "true" # Enable starship prompt
|
||||||
LOCKOUT_TIME: 15 # Minutes
|
LOCKOUT_TIME: 15 # Minutes
|
||||||
MAX_SESSION_AGE: 24 # Hours
|
MAX_SESSION_AGE: 24 # Hours
|
||||||
logging:
|
|
||||||
driver: "gelf"
|
|
||||||
options:
|
|
||||||
gelf-address: "udp://192.168.5.17:12201"
|
|
||||||
tag: "dumbterm"
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
|
|
|
||||||
|
|
@ -14,49 +14,53 @@ services:
|
||||||
user: "1001:998"
|
user: "1001:998"
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: on-failure
|
||||||
labels:
|
labels:
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
|
||||||
migrate:
|
migrate:
|
||||||
image: 0xfurai/peekaping-migrate:latest
|
image: 0xfurai/peekaping-migrate:latest
|
||||||
depends_on:
|
|
||||||
- peekaping-postgres
|
|
||||||
environment:
|
environment:
|
||||||
- DB_USER=peekaping
|
- DB_USER=peekaping
|
||||||
- DB_PASS=peekapingpass
|
- DB_PASS=peekapingpass
|
||||||
- DB_NAME=peekaping
|
- DB_NAME=peekaping
|
||||||
- DB_HOST=tasks.peekaping-postgres
|
- DB_HOST=peekaping-postgres # <-- fix
|
||||||
- DB_PORT=5432
|
- DB_PORT=5432
|
||||||
- TZ=America/Chicago
|
- TZ=America/Chicago
|
||||||
- SERVER_PORT=8034
|
- SERVER_PORT=8034
|
||||||
- SERVER_HOST=0.0.0.0
|
- SERVER_HOST=0.0.0.0
|
||||||
|
- MODE=prod
|
||||||
user: "1001:998"
|
user: "1001:998"
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
|
deploy:
|
||||||
|
replicas: 0
|
||||||
|
restart_policy:
|
||||||
|
condition: none
|
||||||
|
|
||||||
peekaping-server:
|
peekaping-server:
|
||||||
image: 0xfurai/peekaping-server:latest
|
image: 0xfurai/peekaping-server:latest
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
environment:
|
environment:
|
||||||
- DB_USER=peekaping
|
- DB_USER=peekaping
|
||||||
- DB_PASS=peekapingpass
|
- DB_PASS=peekapingpass
|
||||||
- DB_NAME=peekaping
|
- DB_NAME=peekaping
|
||||||
- DB_HOST=tasks.peekaping-postgres
|
- DB_HOST=peekaping-postgres # <-- fix
|
||||||
- DB_PORT=5432
|
- DB_PORT=5432
|
||||||
- TZ=America/Chicago
|
- TZ=America/Chicago
|
||||||
- SERVER_PORT=8034
|
- SERVER_PORT=8034
|
||||||
- SERVER_HOST=0.0.0.0
|
- SERVER_HOST=0.0.0.0
|
||||||
depends_on:
|
- MODE=prod
|
||||||
- peekaping-postgres
|
|
||||||
- migrate
|
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: on-failure
|
||||||
labels:
|
labels:
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
# Caddy
|
||||||
|
caddy: peekaping.netgrimoire.com
|
||||||
|
caddy.import: authentik
|
||||||
|
caddy.reverse_proxy: "{{upstreams 8034}}"
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: 0xfurai/peekaping-web:latest
|
image: 0xfurai/peekaping-web:latest
|
||||||
|
|
@ -65,7 +69,7 @@ services:
|
||||||
user: "1001:998"
|
user: "1001:998"
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: any
|
condition: on-failure
|
||||||
labels:
|
labels:
|
||||||
# Homepage
|
# Homepage
|
||||||
homepage.group: "Monitoring"
|
homepage.group: "Monitoring"
|
||||||
|
|
@ -76,21 +80,15 @@ services:
|
||||||
|
|
||||||
# Kuma integration
|
# Kuma integration
|
||||||
kuma.monitoring.http.name: "Peekaping"
|
kuma.monitoring.http.name: "Peekaping"
|
||||||
kuma.monitoring.http.url: "http://peekaping:8034"
|
kuma.monitoring.http.url: "http://peekaping-server:8034" # <-- fix
|
||||||
|
|
||||||
# Peekaping self-monitor
|
# Peekaping self-monitor
|
||||||
peekaping.name: "Peekaping"
|
peekaping.name: "Peekaping"
|
||||||
peekaping.url: "http://peekaping:8034"
|
peekaping.url: "http://peekaping-server:8034" # <-- fix
|
||||||
|
|
||||||
# Diun
|
# Diun
|
||||||
diun.enable: "true"
|
diun.enable: "true"
|
||||||
|
|
||||||
# Caddy
|
|
||||||
caddy: peekaping.netgrimoire.com
|
|
||||||
caddy.import: authentik
|
|
||||||
caddy.reverse_proxy: "{{upstreams 8034}}"
|
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
netgrimoire:
|
netgrimoire:
|
||||||
external: true
|
external: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue