Skip to content

Commit

Permalink
Add example docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
lavajuno committed Mar 4, 2024
1 parent fde2507 commit ae2a400
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
users.dat
data/*
docker-compose.yml

.idea/workspace.xml
.idea/vcs.xml

Expand Down
20 changes: 20 additions & 0 deletions docker-compose.example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
services:
web:
build: .
container_name: fsuvius
restart: unless-stopped
expose:
- 8080
networks:
- web
volumes:
- ./data:/home/fsuvius/fsuvius/data
deploy:
resources:
limits:
cpus: '1.0'
memory: 500M

networks:
web:
external: true

0 comments on commit ae2a400

Please sign in to comment.