Configuration for Swarm deployment of membcons.dev, the connector protocol's Go import path, and redirects from the project's other domains.
  • HTML 93.4%
  • Makefile 6.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christian Galo b936961a78
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
Update the theme: keep the header's height
2026-12-01 16:02:16 -06:00
.woodpecker Build the website on push and serve it at membcons.dev 2026-11-30 03:42:05 -06:00
brand/marks Keep the mark variants and a page to compare them 2026-12-01 04:46:12 -06:00
content Name the deployment stack plainly and mention configuration 2026-12-01 04:11:29 -06:00
static Use the outlined tile as the header mark 2026-12-01 04:46:12 -06:00
themes Update the theme: keep the header's height 2026-12-01 16:02:16 -06:00
.env.sample Quote the redirect list so the shell can source .env 2026-11-23 02:30:20 -06:00
.gitignore Add the website's Hugo skeleton, its theme and a local preview 2026-11-30 02:05:15 -06:00
.gitmodules Add the website's Hugo skeleton, its theme and a local preview 2026-11-30 02:05:15 -06:00
AGENTS.md Point to the writing guide 2026-11-30 02:05:15 -06:00
compose.yaml Build the website on push and serve it at membcons.dev 2026-11-30 03:42:05 -06:00
hugo.yaml Use the outlined tile as the header mark 2026-12-01 04:46:12 -06:00
Makefile Add the website's Hugo skeleton, its theme and a local preview 2026-11-30 02:05:15 -06:00
README Add the website's Hugo skeleton, its theme and a local preview 2026-11-30 02:05:15 -06:00
site.conf Build the website on push and serve it at membcons.dev 2026-11-30 03:42:05 -06:00

# 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`.

## Previewing the website

The website is a Hugo site. Its theme, `wikidarity`, is shared with wiki.cafe and lives in its own repository, [wiki-cafe/wikidarity](https://git.wiki.cafe/wiki-cafe/wikidarity), pinned here as a submodule in `themes/wikidarity`. Clone with `--recurse-submodules`, or run `git submodule update --init` after cloning.

The preview reads the theme from a checkout of that repository beside this one, `../wikidarity` by default, so theme changes show before they are committed.

```
make preview                                   # http://localhost:1314
make preview THEME=                            # the pinned theme
make preview BASE_URL=http://192.168.4.138/    # open it from another device
```