Added examples for .env
This commit is contained in:
1 parent
c090ca8dad
commit
994dd49f6d
1 file changed
+19
-8
@@ -1,23 +1,34 @@
|
|||||||
# GohCMS
|
# GohCMS
|
||||||
|
|
||||||
## 🚧 This project is under development !
|
## 🚧 This project is under development !
|
||||||
|
|
||||||
The features are not complete, not tested and subject to many changes.
|
The features are not complete, not tested and subject to many changes.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
### Use with Docker
|
### Use with Docker
|
||||||
|
|
||||||
To **run** the app, run the command
|
To **run** the app, run the command
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker-compose up
|
docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build and run it yourself
|
### Build and run it yourself
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
|
|
||||||
- ./env
|
- ./env
|
||||||
- APP_BASE_API_PATH
|
- APP_API_ADDRESS: `http://example.com`
|
||||||
- APP_BASE_FRONT_PATH
|
- APP_FRONT_ADDRESS: `http://example.com`
|
||||||
- APP_API_ADDRESS
|
- APP_BASE_API_PATH: `/example`
|
||||||
- APP_FRONT_ADDRESS
|
- APP_BASE_FRONT_PATH: `/example`
|
||||||
- APP_API_PORT
|
- APP_API_PORT: `1234`
|
||||||
- APP_FRONT_PORT
|
- APP_FRONT_PORT: `1234`
|
||||||
- APP_JWT_SECRET
|
- APP_JWT_SECRET: `secret`
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
TODO
|
|
||||||
|
TODO
|
||||||
Reference in new issue
Block a user