File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.env
2- .env.psql
32* .log
43* .tmp
54* .swp
65* .bak
76.vscode /
87.idea /
98.DS_Store
10- postgres /migrations /.applied_migrations
Original file line number Diff line number Diff line change 22 <img alt =" SuperStack logo " src =" https://github.com/explodinglabs/superstack/blob/main/logo.png?raw=true " />
33</p >
44
5- <h1 align =" center " >SuperStack App </h1 >
5+ <h1 align =" center " >SuperStack</h1 >
66
77<p align =" center " >
88 <a href =" https://explodinglabs.com/superstack/ " >SuperStack Docs</a >
Original file line number Diff line number Diff line change @@ -7,17 +7,20 @@ services:
77 - 443:443
88 environment :
99 CADDY_SITE_ADDRESS : edge.myapp.com
10+ restart : unless-stopped
1011
1112 postgrest-trusted :
1213 image : postgrest/postgrest:v14.2
1314 environment :
1415 PGRST_DB_ANON_ROLE : trusted
1516 PGRST_DB_SCHEMAS : core, logic
1617 PGRST_DB_URI : postgres://authenticator:${PGRST_AUTHENTICATOR_PASS:?}@infra.local:5432/myapp
18+ restart : unless-stopped
1719
1820 postgrest-untrusted :
1921 image : postgrest/postgrest:v14.2
2022 environment :
2123 PGRST_DB_ANON_ROLE : untrusted
2224 PGRST_DB_SCHEMAS : api
2325 PGRST_DB_URI : postgres://authenticator:${PGRST_AUTHENTICATOR_PASS:?}@infra.local:5432/myapp
26+ restart : unless-stopped
Original file line number Diff line number Diff line change 11# .env - Secrets
22
3- # App/Service passwords for the authenticator and migrator.
3+ APP_DB =
4+ MIGRATOR_ROLE = myapp_migrator
5+
6+ # Password for the migrator - unique to this app/service.
47# Generate with openssl rand -hex 16 |tr -d '\n'
58MIGRATOR_PASS =
69
@@ -14,10 +17,12 @@ PGRST_AUTHENTICATOR_PASS=
1417# Generate with openssl rand -base64 32 | tr -d '\n'
1518JWT_SECRET =
1619
20+ RABBITMQ_HOST = rabbitmq
21+ RABBITMQ_PORT = 5672
1722
18- # Used for tools like createapp and migrate
23+ # Used for tools like bootstrap and migrate
1924PGHOST = postgres
2025PGPORT = 5432
26+ PGDATABASE = myapp
2127PGUSER = admin
22- PGDATABASE = postgres
2328PGPASSWORD =
You can’t perform that action at this time.
0 commit comments