fix: We still had places to improve. Turns out this is pretty important.
Some checks failed
CI/CD / build-and-test (push) Has been cancelled
Some checks failed
CI/CD / build-and-test (push) Has been cancelled
This commit is contained in:
parent
8f44b25d44
commit
a2e1d45661
3 changed files with 15 additions and 3 deletions
12
build/.env.template
Normal file
12
build/.env.template
Normal file
|
@ -0,0 +1,12 @@
|
|||
ACCESS_USERNAME=user
|
||||
ACCESS_PASSWORD=pass
|
||||
ACCESS_TOKENKEY=youbetterbesureyouareusingatokenkey
|
||||
ACCESS_ISSUER=https://guestbooky.example.com/api
|
||||
ACCESS_AUDIENCE=https://guestbooky.example.com
|
||||
CLOUDFLARE_SECRET=0x000000000000000000000000000000000
|
||||
CORS_ORIGINS=https://guestbooky.example.com
|
||||
MONGO_INITDB_ROOT_USERNAME=root
|
||||
MONGO_INITDB_ROOT_PASSWORD=mongo
|
||||
GUESTBOOKY_DB_NAME=Guestbooky
|
||||
GUESTBOOKY_USER=guestbookyuser
|
||||
GUESTBOOKY_PASSWORD=guestbookypassword
|
|
@ -13,7 +13,7 @@ services:
|
|||
- mongodata:/data/db
|
||||
command: ["mongod", "--config", "/etc/mongod.conf"]
|
||||
ports:
|
||||
- "27017:27017"
|
||||
- "127.0.0.1:27017:27017"
|
||||
|
||||
mongo-express:
|
||||
image: mongo-express
|
||||
|
@ -27,7 +27,7 @@ services:
|
|||
depends_on:
|
||||
- mongo
|
||||
ports:
|
||||
- "8082:8081"
|
||||
- "127.0.0.1:8082:8081"
|
||||
|
||||
volumes:
|
||||
mongodata:
|
|
@ -4,7 +4,7 @@ services:
|
|||
image: cotti/guestbooky-be
|
||||
container_name: guestbooky-be
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "127:0.0.1:8080:8080"
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
CORS_ORIGINS: ${CORS_ORIGINS}
|
||||
|
|
Loading…
Reference in a new issue