# Wiki Cafe Site

This is the source code for https://wiki.cafe.

## Reference

Serve Hugo site with Docker

```
docker run --rm -v $(pwd):/src -p 1313:1313 hugomods/hugo:base-non-root-0.145.0 server -D
```

## 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. (There aren't any secrets in this project, but this is how you would set them.)

```
printf "SECRET_HERE" | docker secret create SECRET_NAME -
```

Deploy using the `-c` flag to specify one or multiple compose files.

```
docker stack deploy wiki-cafe-site --detach=true -c compose.yaml
```
Description
No description provided
Readme 1.1 MiB
Languages
HTML 50.1%
CSS 43.6%
Dockerfile 3.1%
Makefile 3%
JavaScript 0.2%