mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
hugo cleanup
This commit is contained in:
parent
1a2f1dfbfa
commit
35705c634a
6 changed files with 1 additions and 55 deletions
|
|
@ -97,14 +97,6 @@
|
||||||
- db.env
|
- db.env
|
||||||
- server.env
|
- server.env
|
||||||
#####
|
#####
|
||||||
# APP: hugo-chat, /apps/hugo-chat
|
|
||||||
#####
|
|
||||||
- name: Create /apps/hugo-chat
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: /apps/hugo-chat
|
|
||||||
state: directory
|
|
||||||
mode: "u=rwx,g=rx,o=rx"
|
|
||||||
#####
|
|
||||||
# APP: bisect-rustc-servce, /apps/bisect-rustc-service
|
# APP: bisect-rustc-servce, /apps/bisect-rustc-service
|
||||||
#####
|
#####
|
||||||
- name: Create /apps/bisect-rustc-service
|
- name: Create /apps/bisect-rustc-service
|
||||||
|
|
|
||||||
BIN
secrets/vps2.env
BIN
secrets/vps2.env
Binary file not shown.
|
|
@ -48,15 +48,6 @@ docker.noratrieb.dev {
|
||||||
reverse_proxy * localhost:5000
|
reverse_proxy * localhost:5000
|
||||||
}
|
}
|
||||||
|
|
||||||
api.hugo-chat.nilstrieb.dev {
|
|
||||||
import cors https://hugo-chat.nilstrieb.dev "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type"
|
|
||||||
reverse_proxy * localhost:5001
|
|
||||||
}
|
|
||||||
|
|
||||||
hugo-chat.nilstrieb.dev {
|
|
||||||
reverse_proxy * localhost:5002
|
|
||||||
}
|
|
||||||
|
|
||||||
api.cors-school.nilstrieb.dev {
|
api.cors-school.nilstrieb.dev {
|
||||||
import cors https://cors-school.nilstrieb.dev "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,token,refresh-token,Authorization"
|
import cors https://cors-school.nilstrieb.dev "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,token,refresh-token,Authorization"
|
||||||
reverse_proxy * localhost:5003
|
reverse_proxy * localhost:5003
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
## ports
|
|
||||||
|
|
||||||
- `5000`: registry
|
|
||||||
- `5001`: hugo-chat server
|
|
||||||
- `5002`: hugo-chat client
|
|
||||||
- `5003`: cors-school server
|
|
||||||
- `5004`: cors-school client
|
|
||||||
- `5005`: cargo-bisect-rustc-service
|
|
||||||
|
|
@ -70,7 +70,7 @@ upload_file "killua/trivia_questions.json"
|
||||||
#upload_file "uptime/uptime.db"
|
#upload_file "uptime/uptime.db"
|
||||||
|
|
||||||
upload_pg_dump "cors-school" "cors-school-db" "davinci" "postgres"
|
upload_pg_dump "cors-school" "cors-school-db" "davinci" "postgres"
|
||||||
upload_pg_dump "hugo-chat" "hugo-chat-db" "postgres" "postgres"
|
#upload_pg_dump "hugo-chat" "hugo-chat-db" "postgres" "postgres"
|
||||||
upload_pg_dump "openolat" "openolat-db" "oodb" "oodbu"
|
upload_pg_dump "openolat" "openolat-db" "oodb" "oodbu"
|
||||||
|
|
||||||
# shellcheck disable=SC1091
|
# shellcheck disable=SC1091
|
||||||
|
|
|
||||||
|
|
@ -40,34 +40,6 @@ services:
|
||||||
- "5005:4000"
|
- "5005:4000"
|
||||||
networks:
|
networks:
|
||||||
- prometheus
|
- prometheus
|
||||||
#### Hugo Chat
|
|
||||||
hugo_chat_db:
|
|
||||||
container_name: hugo-chat-db
|
|
||||||
image: "postgres:latest"
|
|
||||||
restart: always
|
|
||||||
volumes:
|
|
||||||
- "/apps/hugo-chat/data:/var/lib/postgresql/data"
|
|
||||||
environment:
|
|
||||||
POSTGRES_PASSWORD: "${HUGO_CHAT_DB_PASSWORD}"
|
|
||||||
PGDATA: "/var/lib/postgresql/data/pgdata"
|
|
||||||
networks:
|
|
||||||
- hugo-chat
|
|
||||||
hugo_chat_server:
|
|
||||||
container_name: hugo-chat-server
|
|
||||||
image: "docker.noratrieb.dev/hugo-chat-server:63bd1922"
|
|
||||||
ports:
|
|
||||||
- "5001:8080"
|
|
||||||
environment:
|
|
||||||
SPRING_DATASOURCE_URL: "jdbc:postgresql://hugo-chat-db:5432/postgres"
|
|
||||||
SPRING_DATASOURCE_PASSWORD: "${HUGO_CHAT_DB_PASSWORD}"
|
|
||||||
networks:
|
|
||||||
- hugo-chat
|
|
||||||
hugo_chat_client:
|
|
||||||
container_name: hugo-chat-client
|
|
||||||
image: "docker.noratrieb.dev/hugo-chat-client:63bd1922"
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "5002:80"
|
|
||||||
#### Karin
|
#### Karin
|
||||||
karin_bot_db:
|
karin_bot_db:
|
||||||
container_name: karin-bot-db
|
container_name: karin-bot-db
|
||||||
|
|
@ -204,7 +176,6 @@ services:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
cors-school:
|
cors-school:
|
||||||
hugo-chat:
|
|
||||||
karin-bot:
|
karin-bot:
|
||||||
openolat-network:
|
openolat-network:
|
||||||
prometheus:
|
prometheus:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue