mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
move bisect-rustc
This commit is contained in:
parent
a701daf3c6
commit
4618c4b66a
6 changed files with 38 additions and 5 deletions
|
|
@ -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.
|
||||
|
||||
gloriously not great docker configs in `./docker`.
|
||||
|
||||
`nginx`, `registry` with config for the two.
|
||||
|
||||
`run_scripts` with not good scripts for starting containers.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ http {
|
|||
}
|
||||
}
|
||||
|
||||
# MOVED
|
||||
server {
|
||||
listen 443 ssl;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue