mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 04:57:08 +00:00
refactor: remove postgresql tasks
This commit is contained in:
parent
a5c17cb3db
commit
2545ab5748
@ -1,32 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
vars:
|
|
||||||
GOPATH:
|
|
||||||
sh: go env GOPATH
|
|
||||||
BIN_DIR: "{{.GOPATH}}/bin"
|
|
||||||
OS:
|
|
||||||
sh: uname -s
|
|
||||||
ARCH:
|
|
||||||
sh: uname -m
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
init:
|
|
||||||
desc: Initialize postgresql
|
|
||||||
silent: true
|
|
||||||
dir: deploy/apps/chainindex
|
|
||||||
cmds:
|
|
||||||
- cmd: sudo -u postgres psql -f seed.sql
|
|
||||||
platforms:
|
|
||||||
- linux
|
|
||||||
- cmd: sudo -u postgres psql -d chainindex -f schema.sql
|
|
||||||
platforms:
|
|
||||||
- linux
|
|
||||||
|
|
||||||
reset:
|
|
||||||
desc: Reset postgresql
|
|
||||||
silent: true
|
|
||||||
dir: deploy/apps/chainindex
|
|
||||||
cmds:
|
|
||||||
- cmd: sudo -u postgres psql -d chainindex -f reset.sql
|
|
||||||
platforms:
|
|
||||||
- linux
|
|
@ -1,23 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
vars:
|
|
||||||
ROOT:
|
|
||||||
sh: git rev-parse --show-toplevel
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
init:
|
|
||||||
desc: Configure synapse homeserver with PKL
|
|
||||||
silent: true
|
|
||||||
cmds:
|
|
||||||
- pkl eval pkl/matrix.net/Homeserver.pkl -f yaml -o deploy/conf/synapse/homeserver.yaml
|
|
||||||
env:
|
|
||||||
MATRIX_CLIENT_NAME: sonr.id
|
|
||||||
MATRIX_SERVER_NAME: sonr.id
|
|
||||||
MATRIX_SERVER_URL: http://localhost:8008
|
|
||||||
MATRIX_SLIDING_SYNC_PROXY: http://localhost:8008
|
|
||||||
MATRIX_PSQL_CONN: postgresql://matrixhs_user:matrixhs_password123@localhost:5432/sonr
|
|
||||||
MATRIX_REGISTRATION_SHARED_SECRET: secret
|
|
||||||
MATRIX_ENABLE_RECATCHA: false
|
|
||||||
MATRIX_RECATCHA_PUBLIC_KEY: ""
|
|
||||||
MATRIX_RECATCHA_PRIVATE_KEY: ""
|
|
||||||
MATRIX_RECATCHA_BYPASS_SECRET: ""
|
|
@ -1,12 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
|
|
||||||
vars:
|
|
||||||
ROOT:
|
|
||||||
sh: git rev-parse --show-toplevel
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
init:
|
|
||||||
desc: Configure tigerbeetle database
|
|
||||||
silent: true
|
|
||||||
cmds:
|
|
||||||
- pkl eval pkl/matrix.net/Homeserver.pkl -f yaml -o deploy/conf/synapse/homeserver.yaml
|
|
@ -19,14 +19,8 @@ includes:
|
|||||||
taskfile: .taskfiles/Hway.yml
|
taskfile: .taskfiles/Hway.yml
|
||||||
ipfs:
|
ipfs:
|
||||||
taskfile: .taskfiles/IPFS.yml
|
taskfile: .taskfiles/IPFS.yml
|
||||||
postgres:
|
|
||||||
taskfile: .taskfiles/Postgres.yml
|
|
||||||
sonrd:
|
sonrd:
|
||||||
taskfile: .taskfiles/Sonrd.yml
|
taskfile: .taskfiles/Sonrd.yml
|
||||||
synapse:
|
|
||||||
taskfile: .taskfiles/Synapse.yml
|
|
||||||
tigerbeetle:
|
|
||||||
taskfile: .taskfiles/TigerBeetle.yml
|
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user