Skip to content

Commit c5f2dae

Browse files
committed
Use detached docker run and simplify data volume path
1 parent 7974db7 commit c5f2dae

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ CapoToKeys provides a Docker-first Flask WebUI, a CLI mode for scripts, and an o
3232
## Quick Start (Docker)
3333

3434
```bash
35-
docker build -t capo-to-keys:dev -f dockerfile .
35+
docker build -t capo-to-keys:latest -f dockerfile .
3636

37-
docker run --rm -it \
38-
--name capo-to-keys \
37+
docker run -d \
38+
--name capotokeys \
3939
-p 4506:4506 \
40-
-v "$(pwd)/appdata/config/capotokeys:/data" \
41-
capo-to-keys:dev
40+
-v "./data:/data" \
41+
capo-to-keys:latest
4242
```
4343

4444
Open: `http://localhost:4506`
@@ -55,7 +55,7 @@ docker compose up -d
5555

5656
Default image reference in that file:
5757

58-
- `ghcr.io/reprodev/capotokeys:v1.0`
58+
- `ghcr.io/reprodev/capotokeys:latest`
5959

6060
If the package is private, authenticate first:
6161

@@ -172,3 +172,4 @@ MIT — see `LICENSE`.
172172

173173

174174

175+

docker-compose.ghcr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
services:
22
capotokeys:
3-
image: ghcr.io/reprodev/capotokeys:v1.0
3+
image: ghcr.io/reprodev/capotokeys:latest
44
container_name: capotokeys
55
ports:
66
- "4506:4506"
77
volumes:
8-
- ./appdata/config/capotokeys:/data
8+
- ./data:/data
99
restart: unless-stopped

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
services:
22
capotokeys:
3-
image: ghcr.io/reprodev/capotokeys:v1.0
3+
image: ghcr.io/reprodev/capotokeys:latest
44
container_name: capotokeys
55
ports:
66
- "4506:4506"
77
volumes:
8-
- ./appdata/config/capotokeys:/data
8+
- ./data:/data
99
restart: unless-stopped

0 commit comments

Comments
 (0)