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,21 +1,56 @@
|
|||
services:
|
||||
oculus:
|
||||
image: git.nixc.us/colin/oculus:production
|
||||
environment:
|
||||
GLITCHTIP_DSN: ""
|
||||
networks:
|
||||
ingress:
|
||||
external: false
|
||||
|
||||
volumes:
|
||||
- /mnt/tank/persist/nixc.us/oculus/production/data:/log
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
logs:
|
||||
driver: local
|
||||
|
||||
services:
|
||||
## Ingress.nixc.us ##
|
||||
reporter-ingress:
|
||||
image: git.nixc.us/colin/oculus:production-reporter
|
||||
environment:
|
||||
- GLITCHTIP_DSN="https://05d1c1847e814dca976b68b462c86b63@glitch.nixc.us/8"
|
||||
volumes:
|
||||
- logs:/logs
|
||||
networks:
|
||||
- ingress
|
||||
labels:
|
||||
traefik.enable: "false"
|
||||
oculus.containerid: "reporter-ingress"
|
||||
oculus.ignorelist: "/logs/,/tmp/"
|
||||
oculus.mode: "monitor"
|
||||
oculus.interval: "300s"
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.role == manager
|
||||
- node.hostname == ingress.nixc.us
|
||||
update_config:
|
||||
order: stop-first
|
||||
failure_action: rollback
|
||||
delay: 10s
|
||||
parallelism: 1
|
||||
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: "oculus"
|
||||
oculus.ignorelist: "/log/,/tmp/"
|
||||
oculus.containerid: "api-ingress"
|
||||
oculus.ignorelist: ""
|
||||
oculus.mode: "monitor"
|
||||
oculus.interval: "60s"
|
||||
oculus.interval: "300s"
|
||||
deploy:
|
||||
placement:
|
||||
constraints:
|
||||
- node.hostname == ingress.nixc.us
|
||||
update_config:
|
||||
order: stop-first
|
||||
failure_action: rollback
|
||||
|
|
|
@ -1,16 +1,56 @@
|
|||
networks:
|
||||
ingress:
|
||||
external: false
|
||||
|
||||
volumes:
|
||||
logs:
|
||||
driver: local
|
||||
|
||||
services:
|
||||
oculus:
|
||||
image: git.nixc.us/colin/oculus:staging
|
||||
reporter-ingress:
|
||||
image: git.nixc.us/colin/oculus:staging-reporter
|
||||
environment:
|
||||
GLITCHTIP_DSN: ""
|
||||
- GLITCHTIP_DSN="https://05d1c1847e814dca976b68b462c86b63@glitch.nixc.us/8"
|
||||
# volumes:
|
||||
# - /mnt/tank/persist/nixc.us/oculus/staging/data:/log
|
||||
deploy:
|
||||
# placement:
|
||||
# constraints:
|
||||
# - node.hostname == macmini14
|
||||
# - logs:/logs
|
||||
networks:
|
||||
- ingress
|
||||
labels:
|
||||
traefik.enable: "false"
|
||||
oculus.containerid: "reporter-ingress"
|
||||
oculus.ignorelist: "/logs/,/tmp/"
|
||||
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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue