aboutsummaryrefslogtreecommitdiff
path: root/.zed
diff options
context:
space:
mode:
authorTolmachev Igor <me@igorek.dev>2025-09-01 13:32:05 +0300
committerTolmachev Igor <me@igorek.dev>2025-09-01 13:32:05 +0300
commitb9d75e22db72aabf47815e381aa6432c1bff3877 (patch)
treeb6b0741461484c36919a3ec74fb075c77e867a59 /.zed
parent56d155ac2de9261575d7fd4671a08b95cd16e6bb (diff)
downloadqueue_server-b9d75e22db72aabf47815e381aa6432c1bff3877.tar.gz
queue_server-b9d75e22db72aabf47815e381aa6432c1bff3877.zip
Add account endpoints
Diffstat (limited to '.zed')
-rw-r--r--.zed/tasks.json34
1 files changed, 32 insertions, 2 deletions
diff --git a/.zed/tasks.json b/.zed/tasks.json
index e725a43..cf60465 100644
--- a/.zed/tasks.json
+++ b/.zed/tasks.json
@@ -32,12 +32,40 @@
32 "shell": "system" 32 "shell": "system"
33 }, 33 },
34 { 34 {
35 "label": "Run debug database",
36 "command": "docker",
37 "args": [
38 "run",
39 "--name",
40 "debug-postgres",
41 "-e",
42 "POSTGRES_PASSWORD=itmo_queue",
43 "-e",
44 "POSTGRES_USER=itmo_queue",
45 "-e",
46 "POSTGRES_DB=itmo_queue",
47 "-p",
48 "5432:5432",
49 "--rm",
50 "postgres"
51 ],
52
53 "use_new_terminal": false,
54 "allow_concurrent_runs": false,
55 "reveal": "no_focus",
56 "reveal_target": "dock",
57 "hide": "never",
58 "shell": "system"
59 },
60 {
35 "label": "Run release server", 61 "label": "Run release server",
36 "command": "cargo", 62 "command": "cargo",
37 "args": ["run", "-r"], 63 "args": ["run", "-r"],
38 64
39 "env": { 65 "env": {
40 "SERVER_BIND": "0.0.0.0:8080" 66 "SECRET": "secret",
67 "SERVER_BIND": "0.0.0.0:8080",
68 "DATABASE_URL": "postgres://itmo_queue:itmo_queue@localhost/itmo_queue"
41 }, 69 },
42 70
43 "use_new_terminal": false, 71 "use_new_terminal": false,
@@ -53,7 +81,9 @@
53 "args": ["run"], 81 "args": ["run"],
54 82
55 "env": { 83 "env": {
56 "SERVER_BIND": "0.0.0.0:8080" 84 "SECRET": "secret",
85 "SERVER_BIND": "0.0.0.0:8080",
86 "DATABASE_URL": "postgres://itmo_queue:itmo_queue@localhost/itmo_queue"
57 }, 87 },
58 88
59 "use_new_terminal": false, 89 "use_new_terminal": false,