Files

20 lines
597 B
Plaintext

# membcons site
Serves https://membcons.dev, the Go import path of the member console's connector protocol, and redirects the project's other domains to it.
## Deploying the app with Docker Swarm
Copy `.env.sample` to `.env`, then set the environment variables during the shell session.
```
set -a && source .env && set +a
```
Deploy using the `-c` flag to specify one or multiple compose files.
```
docker stack deploy membcons-site --detach=true -c compose.yaml
```
`site.conf` is a Docker config, which cannot change in place. After editing it, raise the `_v1` suffix in `compose.yaml`.