mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-17 01:55:10 +01:00
killua!
This commit is contained in:
parent
22b8ec58bd
commit
313791b3c1
3 changed files with 23 additions and 2 deletions
|
|
@ -10,6 +10,10 @@
|
||||||
with_items:
|
with_items:
|
||||||
- docker.io
|
- docker.io
|
||||||
- docker-compose
|
- docker-compose
|
||||||
|
- name: Install fish
|
||||||
|
ansible.builtin.apt:
|
||||||
|
name: "fish"
|
||||||
|
state: present
|
||||||
- name: Install keyring packages
|
- name: Install keyring packages
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,14 @@
|
||||||
state: directory
|
state: directory
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
#####
|
#####
|
||||||
|
# APP: killua bot, /apps/killua
|
||||||
|
#####
|
||||||
|
- name: Create /apps/killua
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /apps/registry
|
||||||
|
state: directory
|
||||||
|
mode: u=rwx,g=rx,o=rx
|
||||||
|
#####
|
||||||
# END: docker compose up!
|
# END: docker compose up!
|
||||||
#####
|
#####
|
||||||
# We want this to be last so that all app-specific config has been done.
|
# We want this to be last so that all app-specific config has been done.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: '3.8'
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
registry:
|
registry:
|
||||||
container_name: registry
|
container_name: registry
|
||||||
|
|
@ -12,12 +12,21 @@ services:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
widetom:
|
widetom:
|
||||||
container_name: widetom
|
container_name: widetom
|
||||||
image: docker.nilstrieb.dev/widetom:490c94ca
|
image: "docker.nilstrieb.dev/widetom:490c94ca"
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- "/apps/widetom:/app/config"
|
- "/apps/widetom:/app/config"
|
||||||
environment:
|
environment:
|
||||||
CONFIG_PATH: /app/config/config.toml
|
CONFIG_PATH: /app/config/config.toml
|
||||||
BOT_TOKEN_PATH: /app/config/bot_token
|
BOT_TOKEN_PATH: /app/config/bot_token
|
||||||
|
killua:
|
||||||
|
container_name: killua
|
||||||
|
image: "docker.nilstrieb.dev/killua-bot:ac8203d2"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/apps/killua:/app/config"
|
||||||
|
environment:
|
||||||
|
BOT_TOKEN: "${KILLUA_BOT_TOKEN}"
|
||||||
|
KILLUA_JSON_PATH: /app/config/trivia_questions.json
|
||||||
|
|
||||||
# TODO: create an internal network and move caddy there as well.
|
# TODO: create an internal network and move caddy there as well.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue