v1.0.0: dev: add dev and test conseil
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
15b9d0c2e3
commit
df7a17cf9d
2 changed files with 12 additions and 0 deletions
|
|
@ -41,9 +41,14 @@ services:
|
|||
ports:
|
||||
- 127.0.0.1:2300:1222
|
||||
volumes:
|
||||
- .:/app:ro
|
||||
- ./docker/keys:/keys
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
ENDFILE
|
||||
|
||||
cat config/db.sql| docker compose exec -T postgres psql -U acc accounts
|
||||
|
||||
curl -s http://127.0.0.1:2300/ -H "Content-Type: application/json" -d "{\"username\":\"root@root.fr\",\"password\":\"root\"}" | jq -r '.token'
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue