Add new file
This commit is contained in:
parent
998003c3c7
commit
73f1a2d7a9
1 changed files with 24 additions and 0 deletions
24
slop-terminal/docker-compose.yml
Normal file
24
slop-terminal/docker-compose.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
slop-terminal:
|
||||
build: .
|
||||
ports:
|
||||
- "31337:31337"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
- ./config:/app/config
|
||||
environment:
|
||||
- SLOP_PORT=31337
|
||||
- SLOP_DATA_DIR=/app/data
|
||||
- FLASK_DEBUG=false
|
||||
- ENABLE_FIRECRACKER=true
|
||||
privileged: true # Required for KVM/Firecracker
|
||||
devices:
|
||||
- /dev/kvm:/dev/kvm
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:31337/info"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue