massivedecks: added

master
tiyn 12 months ago
parent 29c1cb0d62
commit 1b40f8b360

@ -0,0 +1,97 @@
# massivedecks - client
This is a [Docker](/wiki/docker.md) container for a [Massive Deecks](/wiki/massive_decks.md)
client.
Due to ease of use this entry will also feature the server container.
The official container and documentation was made by
[Lattyware](https://github.com/Lattyware/massivedecks).
This docker-rebuild is made up by a `docker-compose.yml` file.
In addition to the client and server containers a [postgres container](/wiki/docker/postgres.md)
needs to be connected.
## Set-up
Create the files `rebuild.sh`, `.env` and `docker-compose.yml` at the same
place.
Make sure to set `POSTGRES_PASSWORD`.
Change the settings according to your needs and run `./rebuild.sh` afterwards.
## Ports
Set the following ports in the `ports:` section.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | -------- | ----------- |
| `8080` | `8080` | TCP | WebUI |
## Environment-variables
Set the following environment-variables in the `environment:` section of the
docker-compose file.
| Name | Usage | Default |
| ----------- | ----------------------- | ----------------- |
| `NODE_ENV` | Setting the environment | `production` |
## rebuild.sh
```sh
#!/bin/sh
docker-compose down
docker pull postgres:14
docker pull ghcr.io/lattyware/massivedecks/server:latest-release
docker pull ghcr.io/lattyware/massivedecks/client:latest-release
docker-compose up -d
```
## docker-compose.yml
```yml
version: "3.3"
services:
storage:
image: "postgres:14"
restart: unless-stopped
environment:
- POSTGRES_USER=massivedecks
- POSTGRES_PASSWORD=<password>
networks:
- internal
volumes:
- storage-volume:/var/lib/postgresql/data
server:
image: "ghcr.io/lattyware/massivedecks/server:latest-release"
restart: unless-stopped
environment:
- NODE_ENV=production
depends_on:
- storage
networks:
- internal
configs:
- source: md_server_config
target: /md/config.json5
client:
image: "ghcr.io/lattyware/massivedecks/client:latest-release"
restart: unless-stopped
depends_on:
- server
networks:
- internal
ports:
- "8080:8080"
networks:
internal:
external: false
volumes:
storage-volume:
driver: local
configs:
md_server_config:
external: true
```

@ -27,6 +27,8 @@ A notable amount of this group of games uses the top-level domain `.io`.
Some examples for these are [territorial.io](https://territorial.io/) and
[slither.io](http://slither.io/).
Another online game is [Massive Decks](/wiki/massivedecks.md) which is the online take on a similar popular tabletop game.
## Syncing Game Saves Across Systems
By using [Syncthing](../syncthing.md) game saves can be synchronized.

@ -0,0 +1,9 @@
# Massive Decks
[Massive Decks](https://md.rereadgames.com/) is a selfhostable comedy party game with a web
interface.
## Setup
Massive Decks can be set up via [Docker](/wiki/docker.md) with the
[massivedecks image](/wiki/docker/massivedecks_-_client.md).
Loading…
Cancel
Save