use docker compose for test instance
This commit is contained in:
parent
a6ecac8db6
commit
3130e39210
2 changed files with 11 additions and 10 deletions
11
docker-compose.yml
Normal file
11
docker-compose.yml
Normal 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
|
||||
|
10
docker.sh
10
docker.sh
|
@ -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
|
Loading…
Add table
Reference in a new issue