mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
chore: create README.md
This commit is contained in:
34
.env.example
Normal file
34
.env.example
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
DB_USER=autoglue
|
||||||
|
DB_PASSWORD=autoglue
|
||||||
|
DB_NAME=autoglue
|
||||||
|
|
||||||
|
BIND_ADDRESS=127.0.0.1
|
||||||
|
BIND_PORT=8080
|
||||||
|
|
||||||
|
DATABASE_URL=postgres://autoglue:autoglue@localhost:5432/autoglue
|
||||||
|
|
||||||
|
# Used to switch between dev proxy and spa handler
|
||||||
|
# dev proxy - proxy binds port 5173 (vite) to BIND_PORT at /
|
||||||
|
# spa handler - requires ui build and serves embedded from build result
|
||||||
|
UI_DEV=true
|
||||||
|
|
||||||
|
# in development - removes hsts in security middleware, any other value - hsts gets enabled
|
||||||
|
ENV=development
|
||||||
|
|
||||||
|
# Enables or disables /debug/pprof
|
||||||
|
DEBUG=true
|
||||||
|
|
||||||
|
# Enables or disables embedded swagger ui
|
||||||
|
SWAGGER=true
|
||||||
|
|
||||||
|
JWT_ISSUER=http://localhost:8080
|
||||||
|
JWT_AUDIENCE=autoglue-ui
|
||||||
|
# optional - 32 bytes base64url (no padding); use only if you want to encrypt private PEM in DB
|
||||||
|
# openssl rand -base64 32 | tr '+/' '-_' | tr -d '='
|
||||||
|
JWT_PRIVATE_ENC_KEY=IQp53NFkJvbfgLgZc-wo1CNLYRndJA-g5u13HFAn4rI
|
||||||
|
|
||||||
|
OAUTH_REDIRECT_BASE=http://localhost:8080
|
||||||
|
GOOGLE_CLIENT_ID=742299367132-na2i6spu7doukkqtk52vcqd6p94ijupi.apps.googleusercontent.com
|
||||||
|
GOOGLE_CLIENT_SECRET=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
|
||||||
|
#GITHUB_CLIENT_ID=...
|
||||||
|
#GITHUB_CLIENT_SECRET=...
|
||||||
37
README.md
37
README.md
@@ -2,41 +2,8 @@
|
|||||||
|
|
||||||
## Setup Env
|
## Setup Env
|
||||||
create .env file:
|
create .env file:
|
||||||
```
|
```bash
|
||||||
DB_USER=autoglue
|
cp .env.example .env
|
||||||
DB_PASSWORD=autoglue
|
|
||||||
DB_NAME=autoglue
|
|
||||||
|
|
||||||
BIND_ADDRESS=127.0.0.1
|
|
||||||
BIND_PORT=8080
|
|
||||||
|
|
||||||
DATABASE_URL=postgres://autoglue:autoglue@localhost:5432/autoglue
|
|
||||||
|
|
||||||
# Used to switch between dev proxy and spa handler
|
|
||||||
# dev proxy - proxy binds port 5173 (vite) to BIND_PORT at /
|
|
||||||
# spa handler - requires ui build and serves embedded from build result
|
|
||||||
UI_DEV=true
|
|
||||||
|
|
||||||
# in development - removes hsts in security middleware, any other value - hsts gets enabled
|
|
||||||
ENV=development
|
|
||||||
|
|
||||||
# Enables or disables /debug/pprof
|
|
||||||
DEBUG=true
|
|
||||||
|
|
||||||
# Enables or disables embedded swagger ui
|
|
||||||
SWAGGER=true
|
|
||||||
|
|
||||||
JWT_ISSUER=http://localhost:8080
|
|
||||||
JWT_AUDIENCE=autoglue-ui
|
|
||||||
# optional - 32 bytes base64url (no padding); use only if you want to encrypt private PEM in DB
|
|
||||||
# openssl rand -base64 32 | tr '+/' '-_' | tr -d '='
|
|
||||||
JWT_PRIVATE_ENC_KEY=IQp53NFkJvbfgLgZc-wo1CNLYRndJA-g5u13HFAn4rI
|
|
||||||
|
|
||||||
OAUTH_REDIRECT_BASE=http://localhost:8080
|
|
||||||
GOOGLE_CLIENT_ID=742299367132-na2i6spu7doukkqtk52vcqd6p94ijupi.apps.googleusercontent.com
|
|
||||||
GOOGLE_CLIENT_SECRET=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
|
|
||||||
#GITHUB_CLIENT_ID=...
|
|
||||||
#GITHUB_CLIENT_SECRET=...
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Bring up Database:
|
## Bring up Database:
|
||||||
|
|||||||
Reference in New Issue
Block a user