Skip to content

Commit 2de5f50

Browse files
committed
Small readme enhancements.
1 parent d7488f4 commit 2de5f50

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ class TaskiqAdminMiddleware(TaskiqMiddleware):
8181
```bash
8282
docker run -d --rm \
8383
-p "3000:3000" \
84-
-v ./taskiq-admin-data/:/usr/database/ \
85-
-e TASKIQ_ADMIN_API_TOKEN=supersecret \
86-
--name taskiq-admin \
87-
ghcr.io/taskiq-python/taskiq-admin:latest
84+
-v "./taskiq-admin-data/:/usr/database/" \
85+
-e "TASKIQ_ADMIN_API_TOKEN=supersecret" \
86+
--name "taskiq-admin" \
87+
"ghcr.io/taskiq-python/taskiq-admin:latest"
8888
```
8989

9090
4) Go to `http://localhost:3000/tasks`
@@ -93,15 +93,13 @@ docker run -d --rm \
9393

9494
.env file example:
9595
```bash
96-
...
97-
TASKIQ_ADMIN_URL=http://taskiq_admin:3000
98-
TASKIQ_ADMIN_API_TOKEN=supersecret
99-
...
96+
TASKIQ_ADMIN_URL="http://taskiq_admin:3000"
97+
TASKIQ_ADMIN_API_TOKEN="supersecret"
10098
```
10199

102100
compose.yml file example
103-
```shell
104-
...
101+
```yaml
102+
services:
105103
queue:
106104
build:
107105
context: .
@@ -122,8 +120,10 @@ compose.yml file example
122120
env_file:
123121
- .env
124122
volumes:
125-
- ./any/suitable/path:/usr/database/
126-
...
123+
- admin_data:/usr/database/
124+
125+
volumes:
126+
admin_data:
127127
```
128128
129129
### Development

0 commit comments

Comments
 (0)