Skip to content

Commit

Permalink
Create docker-compose.dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mevljas committed Jan 19, 2025
1 parent a77ba12 commit 2ef339c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: nepremicnine-discord-bot
services:
python-bot:
build: .
env_file:
- .env
environment:
- DB_PATH=/db/nepremicnine_db.sqlite
- DISPLAY=:0
volumes:
- db:/db
- /tmp/.X11-unix:/tmp/.X11-unix
command: ["poetry", "run", "python", "main.py"]

volumes:
db:
name: nepremicnine-db

0 comments on commit 2ef339c

Please sign in to comment.