prepare karin

This commit is contained in:
nora 2023-08-26 23:26:21 +02:00
parent 08e9aba6cb
commit 04abeec667
2 changed files with 15 additions and 5 deletions

View file

@ -32,8 +32,7 @@ services:
container_name: hugo-chat-db
image: "postgres:latest"
restart: always
ports:
- "5432:5432"
# no ports bound, accessed via the internal network
environment:
POSTGRES_PASSWORD: "${HUGO_CHAT_DB_PASSWORD}"
networks:
@ -54,8 +53,18 @@ services:
restart: always
ports:
- "5002:80"
# TODO: create an internal network and move caddy there as well.
karin_bot_db:
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:
internal: