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

@ -59,6 +59,19 @@
state: directory
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!
#####
# 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 {
reverse_proxy * localhost:5004
}
bisect-rustc.nilstrieb.dev {
reverse_proxy * localhost:5005
}

View file

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

View file

@ -28,6 +28,16 @@ services:
environment:
BOT_TOKEN: "${KILLUA_BOT_TOKEN}"
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_db:
container_name: hugo-chat-db