forked from coop-cloud/distribution
23 lines
672 B
Markdown
23 lines
672 B
Markdown
# distribution
|
|
|
|
Wiki Cafe's configuration for a [Distribution](https://github.com/docker/distribution) deployment with a [UI](https://joxit.dev/docker-registry-ui/). Originally from an `abra` [recipe](https://git.coopcloud.tech/coop-cloud/distribution) by [Co-op Cloud](https://coopcloud.tech/).
|
|
|
|
## Deploying the app with Docker Swarm
|
|
|
|
Set the environment variables from the .env file during the shell session.
|
|
|
|
```
|
|
set -a && source .env && set +a
|
|
```
|
|
|
|
Set the secrets if any.
|
|
|
|
```
|
|
printf "SECRET_HERE" | docker secret create SECRET_NAME -
|
|
```
|
|
|
|
Deploy using the `-c` flag to specify one or multiple compose files.
|
|
|
|
```
|
|
docker stack deploy distribution -c compose.yaml
|
|
``` |