mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-04 17:37:24 +00:00
Update README.md
This commit is contained in:
parent
102c46abaf
commit
ffd96061e9
1 changed files with 27 additions and 1 deletions
28
README.md
28
README.md
|
|
@ -127,7 +127,33 @@ the internal structure of some sensors is simplified:
|
|||
|
||||
## Deployment
|
||||
|
||||
Coming soon.
|
||||
### Environment Variables
|
||||
|
||||
Before running the production server,
|
||||
you need to configure environment variables.
|
||||
|
||||
Start by copying the example file and editing it:
|
||||
|
||||
```sh
|
||||
cp ./.env.example ./.env
|
||||
```
|
||||
|
||||
### Running with Docker Compose
|
||||
|
||||
Once the environment variables are set up,
|
||||
you can start the server using Docker Compose:
|
||||
|
||||
```sh
|
||||
docker compose up --build
|
||||
```
|
||||
|
||||
By default, the server will be available at `http://0.0.0.0:1337/`.
|
||||
The database and uploaded user files are stored in the `./data` directory.
|
||||
|
||||
You can change this behavior by editing `docker-compose.yml` if needed.
|
||||
|
||||
**Note**: Environment variables defined in `docker-compose.yml`
|
||||
will **override** those in the `.env` file.
|
||||
|
||||
## Resources
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue