mirror of
https://github.com/demostf/setup
synced 2026-06-04 09:04:06 +02:00
update readme
This commit is contained in:
parent
98808481b6
commit
591d28d77e
1 changed files with 12 additions and 4 deletions
16
README.md
16
README.md
|
|
@ -6,13 +6,21 @@ Hosting setup for demos.tf
|
||||||
|
|
||||||
Create a `.env` file with the following values:
|
Create a `.env` file with the following values:
|
||||||
|
|
||||||
- HOST
|
- HOST: the base domain the site will be hosted from
|
||||||
- PORT
|
- PORT: the port the webserver will listen to
|
||||||
- EMAIL
|
- DB_PASSWORD: the password that will be used for the database
|
||||||
- DB_PASSWORD
|
- DEMO_ROOT: the folder the demos will be stored in
|
||||||
|
|
||||||
Start the containers:
|
Start the containers:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Domain names
|
||||||
|
|
||||||
|
The setup uses three domains derived from the base domain.
|
||||||
|
|
||||||
|
- ${HOST}: the main site
|
||||||
|
- api.${HOST}: the backend api and upload code
|
||||||
|
- static.${HOST}: server uploaded demos
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue