mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
karin secrets
This commit is contained in:
parent
9079976bf3
commit
40061eebc3
3 changed files with 10 additions and 0 deletions
|
|
@ -60,6 +60,11 @@
|
||||||
path: /apps/karin-bot
|
path: /apps/karin-bot
|
||||||
state: directory
|
state: directory
|
||||||
mode: "u=rwx,g=rx,o=rx"
|
mode: "u=rwx,g=rx,o=rx"
|
||||||
|
- name: "Copy karin .env secret"
|
||||||
|
ansible.builtin.copy:
|
||||||
|
dest: "/apps/karin-bot/.env"
|
||||||
|
src: "../secrets/karin-bot/.env"
|
||||||
|
mode: "u=r,g=r,o=r"
|
||||||
# TODO: Mount a volume in the karin-db to this directory
|
# TODO: Mount a volume in the karin-db to this directory
|
||||||
#####
|
#####
|
||||||
# APP: cors-school, /apps/cors-school
|
# APP: cors-school, /apps/cors-school
|
||||||
|
|
|
||||||
BIN
secrets/karin-bot/.env
Normal file
BIN
secrets/karin-bot/.env
Normal file
Binary file not shown.
|
|
@ -84,6 +84,11 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- "/apps/karin-bot/.env"
|
- "/apps/karin-bot/.env"
|
||||||
|
environment:
|
||||||
|
DB_NAME: court_bot
|
||||||
|
MONGO_URI: "mongodb://karin-bot-db:27017"
|
||||||
|
RUST_LOG: INFO
|
||||||
|
PRETTY: "false"
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
#### Cors School
|
#### Cors School
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue