File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,10 @@ class TaskiqAdminMiddleware(TaskiqMiddleware):
8181``` bash
8282docker 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
90904 ) 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
102100compose.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
You can’t perform that action at this time.
0 commit comments