chore: remove .env file
This commit is contained in:
1 parent
cc9b2beaf8
commit
1510413a16
10 files changed
+84
-73
No files matched your search
@@ -4,6 +4,7 @@
|
||||
|
||||
## ToC
|
||||
- [Description](#description)
|
||||
- [Configuration](#configuration)
|
||||
- [Documentation](#wiki)
|
||||
- [License](LICENSE)
|
||||
- [Disclaimer](#disclaimer)
|
||||
@@ -15,6 +16,23 @@
|
||||
OpenMMO is an open-source implementation of the PokeMMO server.
|
||||
The goal is it to provide a free and open-source alternative to the PokeMMO server.
|
||||
|
||||
## Configuration
|
||||
|
||||
All local configuration and secrets live in a `.env` file at the repository
|
||||
root. It is **gitignored**, never commit it. Use the tracked
|
||||
[`.env.example`](.env.example) as the template:
|
||||
|
||||
```bash
|
||||
cp .env.example .env # then edit the values
|
||||
docker compose up -d # start all docker containers
|
||||
./gradlew runAll # build and run the servers
|
||||
```
|
||||
|
||||
For local-only tweaks to the container setup, create a
|
||||
`docker-compose.override.yml` (also gitignored).
|
||||
Docker Compose merges it automatically on `docker compose up`.
|
||||
For deployment,supply a proper `.env` and run `docker compose -f docker-compose.yml up -d` to skip any override.
|
||||
|
||||
## Wiki
|
||||
|
||||
The documentation wiki can be found [here](https://forge.fiereu.de/OpenMMO/OpenMMO/wiki).
|
||||
|
||||
Reference in new issue
Block a user