use docker compose for test instance

This commit is contained in:
Thomas Bishop 2025-05-23 11:05:17 +01:00
parent a6ecac8db6
commit 3130e39210
2 changed files with 11 additions and 10 deletions

11
docker-compose.yml Normal file
View file

@ -0,0 +1,11 @@
services:
wakapi:
container_name: wakapi-test-instance
image: ghcr.io/muety/wakapi:latest
init: true
ports:
- 3000:3000
restart: unless-stopped
volumes:
- ./data/:/data # bind mount, no need to add named vol

View file

@ -1,10 +0,0 @@
#!/bin/bash
docker run -d \
--name wakapi \
-p 3000:3000 \
-e "WAKAPI_PORT=3000" \
-e "WAKAPI_DB_TYPE=sqlite3" \
-e "WAKAPI_DB_PATH=/app/data/wakapi.db" \
-v wakapi-data:/app/data \
n1try/wakapi