move bisect-rustc

This commit is contained in:
nora 2023-08-27 14:34:21 +02:00
parent a701daf3c6
commit 4618c4b66a
6 changed files with 38 additions and 5 deletions

View file

@ -9,3 +9,7 @@ there once was some custom k8s cluster setup in `./k8s-cluster`. it was incomple
also some kubernetes config in `./kube`. why. also some kubernetes config in `./kube`. why.
gloriously not great docker configs in `./docker`. gloriously not great docker configs in `./docker`.
`nginx`, `registry` with config for the two.
`run_scripts` with not good scripts for starting containers.

View file

@ -59,6 +59,19 @@
state: directory state: directory
mode: u=rwx,g=rx,o=rx mode: u=rwx,g=rx,o=rx
##### #####
# APP: bisect-rustc-servce, /apps/bisect-rustc-service
#####
- name: Create /apps/bisect-rustc-service
ansible.builtin.file:
path: /apps/bisect-rustc-service
state: directory
mode: u=rwx,g=rx,o=rx
- name: SQLite DB permissions for bisect-rustc-servce
ansible.builtin.file:
path: /apps/bisect-rustc-service/db.sqlite
state: touch
mode: u=rw,g=,o=
#####
# END: docker compose up! # END: docker compose up!
##### #####
# We want this to be last so that all app-specific config has been done. # We want this to be last so that all app-specific config has been done.

View file

@ -62,3 +62,7 @@ api.cors-school.nilstrieb.dev {
cors-school.nilstrieb.dev { cors-school.nilstrieb.dev {
reverse_proxy * localhost:5004 reverse_proxy * localhost:5004
} }
bisect-rustc.nilstrieb.dev {
reverse_proxy * localhost:5005
}

View file

@ -1,7 +1,8 @@
## ports ## ports
- 5000: registry - `5000`: registry
- 5001: hugo-chat server - `5001`: hugo-chat server
- 5002: hugo-chat client - `5002`: hugo-chat client
- 5003: cors-school server - `5003`: cors-school server
- 5004: cors-school client - `5004`: cors-school client
- `5005`: cargo-bisect-rustc-service

View file

@ -28,6 +28,16 @@ services:
environment: environment:
BOT_TOKEN: "${KILLUA_BOT_TOKEN}" BOT_TOKEN: "${KILLUA_BOT_TOKEN}"
KILLUA_JSON_PATH: /app/config/trivia_questions.json KILLUA_JSON_PATH: /app/config/trivia_questions.json
cargo_bisect_rustc_service:
container_name: cargo-bisect-rustc-service
image: "docker.nilstrieb.dev/cargo-bisect-rustc-service:13f89b68"
restart: always
volumes:
- "/apps/bisect-rustc-service/db.sqlite:/home/bisector/db.sqlite"
environment:
SQLITE_DB: /home/bisector/db.sqlite
ports:
- "5005:4000"
#### Hugo Chat #### Hugo Chat
hugo_chat_db: hugo_chat_db:
container_name: hugo-chat-db container_name: hugo-chat-db

View file

@ -17,6 +17,7 @@ http {
} }
} }
# MOVED
server { server {
listen 443 ssl; listen 443 ssl;