Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
type=ref,event=tag
type=sha
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/heads/main') }}
type=raw,value=${{ github.sha }}

- name: Build and push
uses: docker/build-push-action@v6
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ They add `Authorization: Bearer <token>` to requests.
```bash
git clone https://github.com/trofkm/wicket
cd wicket
cp .env.example .env # set env variables
cp env.example .env # set env variables
```

### SQLite
Expand Down Expand Up @@ -171,7 +171,7 @@ Supports two storage backends, selected via `STORAGE_BACKEND`:

| Backend | Best for | Notes |
|---------|----------|-------|
| `sqlite`| Single instance, simple setup | Easy to use. Feets 99% of usecase. |
| `sqlite`| Single instance, simple setup | Easy to use. Fits 99% of usecase. |
| `redis` | Multiple instances, or if you already run Redis. | Use this if you don't like sqlite or you have highload. |


Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
ports:
- "127.0.0.1:8000:8000"
volumes:
- ./data:/data
- wicket_data:/data
restart: unless-stopped
logging:
driver: json-file
Expand All @@ -26,3 +26,6 @@ services:
limits:
memory: 512M
cpus: "1.0"

volumes:
wicket_data:
6 changes: 6 additions & 0 deletions example/caddy/docker-compose.sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ services:
ADMIN_USER: ${ADMIN_USER:-test-admin}
ADMIN_PASS: ${ADMIN_PASS:-test-admin}
TOKEN_TTL_SECONDS: ${TOKEN_TTL_SECONDS:-0}
SQLITE_PATH: /data/tokens.db
volumes:
- wicket_data:/data
ports:
- "8000:8000"
restart: unless-stopped
Expand All @@ -23,3 +26,6 @@ services:

whoami:
image: traefik/whoami:latest

volumes:
wicket_data:
6 changes: 6 additions & 0 deletions example/traefik/docker-compose.sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ services:
ADMIN_USER: ${ADMIN_USER:-test-admin}
ADMIN_PASS: ${ADMIN_PASS:-test-admin}
TOKEN_TTL_SECONDS: ${TOKEN_TTL_SECONDS:-0}
SQLITE_PATH: /data/tokens.db
volumes:
- wicket_data:/data
ports:
- "8000:8000"
restart: unless-stopped
Expand All @@ -27,3 +30,6 @@ services:

whoami:
image: traefik/whoami:latest

volumes:
wicket_data:
Loading