fixed
This commit is contained in:
1 parent
4194cef934
commit
363127fe9e
3350 files changed
+1284220
-1
No files matched your search
Executable
+27
@@ -0,0 +1,27 @@
|
||||
# Dependencies
|
||||
dependencies:
|
||||
docker-compose -f ./deployment/dependencies/docker-compose.yaml up -d
|
||||
|
||||
# Self-hosted registry + Watchtower
|
||||
registry-up:
|
||||
docker compose -f ./deployment/registry/docker-compose.yaml up -d
|
||||
registry-down:
|
||||
docker compose -f ./deployment/registry/docker-compose.yaml down
|
||||
deploy:
|
||||
./scripts/deploy.sh
|
||||
|
||||
# Database
|
||||
create-migration:
|
||||
migrate create -ext sql -dir db/migrations -tz Local init
|
||||
|
||||
# --- for Macos
|
||||
migrate:
|
||||
migrate -database 'postgres://bank_admin:bank%40%2323%23%40_password@localhost:5424/bank_db?sslmode=disable' -path db/migrations up
|
||||
migrate-rollback:
|
||||
migrate -database 'postgres://bank_admin:bank%40%2323%23%40_password@localhost:5424/bank_db?sslmode=disable' -path db/migrations down
|
||||
|
||||
# ---- for linux
|
||||
# migrate:
|
||||
# migrate -database 'postgresql://bank_admin:bank@#23#@_password@localhost:5454/bank_db?sslmode=disable' -path db/migrations up
|
||||
# migrate-rollback:
|
||||
# migrate -database 'postgresql://bank_admin:bank@#23#@_password@localhost:5454/bank_db?sslmode=disable' -path db/migrations down
|
||||
Reference in new issue
Block a user