Skip to content

Commit b3227e7

Browse files
committed
add youtube_urls.json file and update docker-compose for binding
1 parent 4c2ff3f commit b3227e7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

ansible/deploy-playbook.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@
104104
owner: bot
105105
group: bot
106106

107+
- name: Create youtube_urls.json in bot's home directory
108+
file:
109+
path: /home/bot/youtube_urls.json
110+
state: touch
111+
owner: bot
112+
group: bot
113+
107114
- name: Start Discord Bot via docker compose
108115
shell: |
109116
cd /root/discord

compose.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ services:
3131
target: /home/bot/pretix_cache.json
3232
read_only: false
3333

34+
- type: bind
35+
source: /home/bot/youtube_urls.json
36+
target: /home/bot/youtube_urls.json
37+
read_only: false
38+
3439
# read all container only logs with
3540
# journalctl -u docker IMAGE_NAME=pyladiescon -f
3641
logging:

0 commit comments

Comments
 (0)