diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2fa8ab8 --- /dev/null +++ b/docker-compose.yml @@ -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 + diff --git a/docker.sh b/docker.sh deleted file mode 100755 index 62d9b0c..0000000 --- a/docker.sh +++ /dev/null @@ -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