example compose and env docs
This commit is contained in:
@@ -148,10 +148,12 @@ The built image is published on the git server, so there's nothing to compile:
|
||||
|
||||
```bash
|
||||
docker login git.lashman.live
|
||||
cp docker-compose.example.yml docker-compose.yml
|
||||
cp .env.example .env
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
That pulls the image, mounts a ./data directory, and serves the puzzle on port 8484. Before first start, edit the compose file: set `INSTANCE_URL` and the federation names to your real domain, and add a `DATA_ENC_KEY` if you want storage encryption.
|
||||
That pulls the image, mounts a ./data directory, and serves the puzzle on port 8484. Before first start, set your real domain and federation names in .env, and add a DATA_ENC_KEY if you want storage encryption.
|
||||
|
||||
Prefer to run from source?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user