-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
30 lines (28 loc) · 879 Bytes
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '3.8'
services:
recommender:
image: registry.heroku.com/recommend-games/web:latest
container_name: bot-recommender
environment:
- DEBUG=0
- PORT=8080
- ADD_LOCAL_HOST=recommender,.local,localhost
ports:
- 9999:8080
restart: unless-stopped
mastodon:
image: registry.gitlab.com/recommend.games/board-game-bot:latest
container_name: bot-mastodon
build: '.'
command: [
'python', '-m', 'board_game_bot.mastodon',
'--base-url', 'http://recommender:8080',
'--no-link',
'--image-base-path', '/images'
]
env_file: .env
volumes:
- '../board-game-scraper/images/full:/images'
restart: unless-stopped
stop_grace_period: 15m
stop_signal: SIGINT