Add CI/CD pipeline (Forgejo) and prod docker-compose
Some checks failed
CI/CD Pipeline / build-and-deploy (push) Failing after 28s
Some checks failed
CI/CD Pipeline / build-and-deploy (push) Failing after 28s
This commit is contained in:
parent
d21f4d696d
commit
780e776294
2 changed files with 73 additions and 0 deletions
26
docker-compose.prod.yml
Normal file
26
docker-compose.prod.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
services:
|
||||
client-bot:
|
||||
image: 192.168.8.174:3000/vrubel/chess-calc:latest
|
||||
container_name: chess-calc-client-bot
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
- STATS_DB=/app/data/tournaments.db
|
||||
volumes:
|
||||
- bot-data:/app/data
|
||||
command: ["python3", "-m", "bots.client_bot"]
|
||||
|
||||
admin-bot:
|
||||
image: 192.168.8.174:3000/vrubel/chess-calc:latest
|
||||
container_name: chess-calc-admin-bot
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
environment:
|
||||
- STATS_DB=/app/data/tournaments.db
|
||||
volumes:
|
||||
- bot-data:/app/data
|
||||
command: ["python3", "-m", "bots.admin_bot"]
|
||||
|
||||
volumes:
|
||||
bot-data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue