initial commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
version: 3
|
||||
tasks:
|
||||
|
||||
db-up:
|
||||
desc: start ws-chat postgres and dbgate
|
||||
cmds:
|
||||
- echo "Postgres - localhost 54545 || DBGate localhost 7777"
|
||||
- podman compose up -d
|
||||
|
||||
db-down:
|
||||
desc: stop ws-chat postgres and dbgate
|
||||
cmds:
|
||||
- podman compose down
|
||||
|
||||
db-logs:
|
||||
desc: view ws-chat postgres and dbgate logs
|
||||
cmds:
|
||||
- podman compose logs -f
|
||||
|
||||
db-status:
|
||||
desc: show ws-chat postgres and dbgate status
|
||||
cmds:
|
||||
- podman compose ps
|
||||
|
||||
db-reset:
|
||||
desc: delete the database data
|
||||
cmds:
|
||||
- podman compose down
|
||||
- podman volume rm postgres-data-wschat
|
||||
- podman volume rm dbgate-data-wschat
|
||||
Reference in New Issue
Block a user