mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
prepare karin
This commit is contained in:
parent
08e9aba6cb
commit
04abeec667
2 changed files with 15 additions and 5 deletions
1
.github/workflows/deploy.yaml
vendored
1
.github/workflows/deploy.yaml
vendored
|
|
@ -10,6 +10,7 @@ on:
|
||||||
- widetom
|
- widetom
|
||||||
- cargo-bisect-rustc-service
|
- cargo-bisect-rustc-service
|
||||||
- killua-bot
|
- killua-bot
|
||||||
|
- discord-court-bot
|
||||||
- hugo-chat
|
- hugo-chat
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,7 @@ services:
|
||||||
container_name: hugo-chat-db
|
container_name: hugo-chat-db
|
||||||
image: "postgres:latest"
|
image: "postgres:latest"
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
# no ports bound, accessed via the internal network
|
||||||
- "5432:5432"
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: "${HUGO_CHAT_DB_PASSWORD}"
|
POSTGRES_PASSWORD: "${HUGO_CHAT_DB_PASSWORD}"
|
||||||
networks:
|
networks:
|
||||||
|
|
@ -54,8 +53,18 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "5002:80"
|
- "5002:80"
|
||||||
|
karin_bot_db:
|
||||||
# TODO: create an internal network and move caddy there as well.
|
container_name: karin-bot-db
|
||||||
|
image: "mongo:latest"
|
||||||
|
restart: always
|
||||||
|
env_file:
|
||||||
|
- "/apps/karin-bot/.env"
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "0.5"
|
||||||
|
memory: 500M
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue