Skip to content

Commit

Permalink
Added compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-holzner committed Sep 29, 2024
1 parent 89260d1 commit 55faf6c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3.8'

services:
app:
image: ghcr.io/lukas-holzner/codefusion-hackathon:latest
ports:
- "8000:8000"
volumes:
- ./data:/app/data
environment:
- DATABASE_URL=sqlite:///./data/database.db
restart: unless-stopped

watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30 --cleanup
restart: unless-stopped

volumes:
data:

0 comments on commit 55faf6c

Please sign in to comment.