File tree Expand file tree Collapse file tree 4 files changed +41
-0
lines changed
Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ APP_USERNAME = BOT_random
2+ APP_LEVEL = 0
3+ APP_JOIN_AFTER = 5
4+ APP_RABBIT_MQ_DSN = amqp://guest:guest@rabbitmq:5672
5+ APP_NCHAN_SUB_URL = http://nchan/sub
6+ APP_RPC_TIMEOUT = 10s
7+ APP_RPC_EXCHANGE = gaming
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ services:
5959 - " node.labels.long-running==1"
6060 labels :
6161 - " prometheus-job=connect-four-transient-rpc"
62+ connect-four-bot :
63+ image : ghcr.io/gaming-platform/service-connect-four-bot
64+ env_file : ../bot.env
6265
6366volumes :
6467 proxysql.sock :
Original file line number Diff line number Diff line change @@ -186,6 +186,21 @@ services:
186186 command : bin/console gaming:consume-messages all
187187 labels :
188188 - " prometheus-job=consume-messages"
189+ connect-four-bot :
190+ image : ghcr.io/gaming-platform/service-connect-four-bot
191+ environment :
192+ APP_USERNAME : ' BOT_random'
193+ APP_LEVEL : ' 0'
194+ APP_JOIN_AFTER : ' 5'
195+ APP_RABBIT_MQ_DSN : ' amqp://guest:guest@rabbitmq:5672'
196+ APP_NCHAN_SUB_URL : ' http://nchan/sub'
197+ APP_RPC_TIMEOUT : ' 10s'
198+ APP_RPC_EXCHANGE : ' gaming'
199+ depends_on :
200+ - rabbitmq
201+ - nchan
202+ - consume-messages
203+ restart : on-failure
189204
190205volumes :
191206 mysql :
Original file line number Diff line number Diff line change @@ -183,6 +183,22 @@ services:
183183 command : bin/restartOnChange bin/console gaming:consume-messages all
184184 labels :
185185 - " prometheus-job=consume-messages"
186+ connect-four-bot :
187+ image : ghcr.io/gaming-platform/service-connect-four-bot
188+ # build: { context: ../service-connect-four-bot, target: development }
189+ environment :
190+ APP_USERNAME : ' BOT_random'
191+ APP_LEVEL : ' 0'
192+ APP_JOIN_AFTER : ' 5'
193+ APP_RABBIT_MQ_DSN : ' amqp://guest:guest@rabbitmq:5672'
194+ APP_NCHAN_SUB_URL : ' http://nchan/sub'
195+ APP_RPC_TIMEOUT : ' 10s'
196+ APP_RPC_EXCHANGE : ' gaming'
197+ depends_on :
198+ - rabbitmq
199+ - nchan
200+ - php-consume-messages
201+ restart : on-failure
186202
187203 # #############################
188204 # Development helper #
You can’t perform that action at this time.
0 commit comments