Containerizing things.
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
edab2e247e
commit
5d4920ec3a
|
@ -1,25 +1,60 @@
|
||||||
|
networks:
|
||||||
|
ingress:
|
||||||
|
external: false
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
logs:
|
||||||
|
driver: local
|
||||||
|
|
||||||
services:
|
services:
|
||||||
oculus:
|
## Ingress.nixc.us ##
|
||||||
image: git.nixc.us/colin/oculus:production
|
reporter-ingress:
|
||||||
|
image: git.nixc.us/colin/oculus:production-reporter
|
||||||
environment:
|
environment:
|
||||||
GLITCHTIP_DSN: ""
|
- GLITCHTIP_DSN="https://05d1c1847e814dca976b68b462c86b63@glitch.nixc.us/8"
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/tank/persist/nixc.us/oculus/production/data:/log
|
- logs:/logs
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
networks:
|
||||||
|
- ingress
|
||||||
|
labels:
|
||||||
|
traefik.enable: "false"
|
||||||
|
oculus.containerid: "reporter-ingress"
|
||||||
|
oculus.ignorelist: "/logs/,/tmp/"
|
||||||
|
oculus.mode: "monitor"
|
||||||
|
oculus.interval: "300s"
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == manager
|
- node.hostname == ingress.nixc.us
|
||||||
labels:
|
update_config:
|
||||||
traefik.enable: "false"
|
order: stop-first
|
||||||
oculus.containerid: "oculus"
|
failure_action: rollback
|
||||||
oculus.ignorelist: "/log/,/tmp/"
|
delay: 10s
|
||||||
oculus.mode: "monitor"
|
parallelism: 1
|
||||||
oculus.interval: "60s"
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
api-ingress:
|
||||||
|
image: git.nixc.us/colin/oculus:production-monitor
|
||||||
|
environment:
|
||||||
|
- GLITCHTIP_DSN="https://05d1c1847e814dca976b68b462c86b63@glitch.nixc.us/8"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- ingress
|
||||||
|
labels:
|
||||||
|
traefik.enable: "false"
|
||||||
|
oculus.containerid: "api-ingress"
|
||||||
|
oculus.ignorelist: ""
|
||||||
|
oculus.mode: "monitor"
|
||||||
|
oculus.interval: "300s"
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.hostname == ingress.nixc.us
|
||||||
update_config:
|
update_config:
|
||||||
order: stop-first
|
order: stop-first
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
delay: 0s
|
delay: 0s
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
|
@ -1,20 +1,60 @@
|
||||||
|
networks:
|
||||||
|
ingress:
|
||||||
|
external: false
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
logs:
|
||||||
|
driver: local
|
||||||
|
|
||||||
services:
|
services:
|
||||||
oculus:
|
reporter-ingress:
|
||||||
image: git.nixc.us/colin/oculus:staging
|
image: git.nixc.us/colin/oculus:staging-reporter
|
||||||
environment:
|
environment:
|
||||||
GLITCHTIP_DSN: ""
|
- GLITCHTIP_DSN="https://05d1c1847e814dca976b68b462c86b63@glitch.nixc.us/8"
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /mnt/tank/persist/nixc.us/oculus/staging/data:/log
|
# - logs:/logs
|
||||||
|
networks:
|
||||||
|
- ingress
|
||||||
|
labels:
|
||||||
|
traefik.enable: "false"
|
||||||
|
oculus.containerid: "reporter-ingress"
|
||||||
|
oculus.ignorelist: "/logs/,/tmp/"
|
||||||
|
oculus.mode: "monitor"
|
||||||
|
oculus.interval: "300s"
|
||||||
deploy:
|
deploy:
|
||||||
# placement:
|
placement:
|
||||||
# constraints:
|
constraints:
|
||||||
# - node.hostname == macmini14
|
- node.hostname == ingress.nixc.us
|
||||||
labels:
|
|
||||||
traefik.enable: "false"
|
|
||||||
update_config:
|
update_config:
|
||||||
order: stop-first
|
order: stop-first
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
delay: 0s
|
delay: 0s
|
||||||
parallelism: 1
|
parallelism: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
|
|
||||||
|
api-ingress:
|
||||||
|
image: git.nixc.us/colin/oculus:staging-monitor
|
||||||
|
environment:
|
||||||
|
- GLITCHTIP_DSN="https://05d1c1847e814dca976b68b462c86b63@glitch.nixc.us/8"
|
||||||
|
# volumes:
|
||||||
|
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
networks:
|
||||||
|
- ingress
|
||||||
|
labels:
|
||||||
|
traefik.enable: "false"
|
||||||
|
oculus.containerid: "api-ingress"
|
||||||
|
oculus.ignorelist: ""
|
||||||
|
oculus.mode: "monitor"
|
||||||
|
oculus.interval: "300s"
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.hostname == ingress.nixc.us
|
||||||
|
update_config:
|
||||||
|
order: stop-first
|
||||||
|
failure_action: rollback
|
||||||
|
delay: 0s
|
||||||
|
parallelism: 1
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
|
Loading…
Reference in New Issue