Browse Source

Initial import

pull/1/head
3wc 2 weeks ago
commit
54de5ba0c2
  1. 6
      .env.sample
  2. 26
      README.md
  3. 23
      compose.yml

6
.env.sample

@ -0,0 +1,6 @@
TYPE=go-ssb-room
DOMAIN=go-ssb-room.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.go-ssb-room.example.com`'
LETS_ENCRYPT_ENV=production

26
README.md

@ -0,0 +1,26 @@
# go-ssb-room
Scuttlebutt room server, implemented in Go
<!-- metadata -->
* **Category**: Utilities
* **Status**: ❹💣
* **Image**: [`3wordchant/go-ssb-room`](https://hub.docker.com/r/3wordchant/go-ssb-room), ❹💣, own
* **Healthcheck**: ❌
* **Backups**: ❌
* **Email**: N/A
* **Tests**: ❌
* **SSO**: ❌
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new go-ssb-room`
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
your Docker swarm box
5. `abra app YOURAPPDOMAIN deploy`
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik

23
compose.yml

@ -0,0 +1,23 @@
---
version: "3.8"
services:
app:
image: 3wordchant/go-ssb-room
networks:
- proxy
environment:
- DOMAIN
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3000"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
networks:
proxy:
external: true
Loading…
Cancel
Save