4 Commits

Author SHA1 Message Date
Lukas Grimm
ff110a1a07 added some insights 2023-03-29 17:10:34 +02:00
id101010
b78c0ac907 update readme 2023-03-29 17:00:19 +02:00
id101010
1dae066a1e add docker shizzle 2023-03-29 16:53:47 +02:00
id101010
fbf74ae7c6 fix readme 2023-03-29 16:51:56 +02:00
4 changed files with 59 additions and 14 deletions

13
README
View File

@@ -1,13 +0,0 @@
# bs-bingo
## What is it?
It's a bullshit bingo.
## How to deploy?
Use the `docker-compose` file. I don't care if you don't like it. Fuck off.
## Why?
Because.

30
README.md Normal file
View File

@@ -0,0 +1,30 @@
# bs-bingo
## What is it?
It's a bullshit bingo.
## How to deploy?
Use the `docker-compose` file. I don't care if you don't like it. Fuck off.
## Why?
Because.
## I'm too stupid to find out where to edit the data
Good for you.
## Here is a chat message containing xyz additions!
Fuck off, this is a public repository, create a PR like normal people do.
## Hey, your HTML/JS is shit.
Yes.
## Authors
- aaron
- your name could be added to this list

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
version: '3'
networks:
web:
external: true
internal:
external: false
services:
nginx:
restart: always
image: nginx:latest
container_name: bsbingo
volumes:
- /mnt/docker/bs_bingo/HTML5-bingo:/usr/share/nginx/html
labels:
- traefik.http.routers.bingo.rule=Host(`bingo.0x29a.ch`)
- traefik.http.routers.bingo.tls=true
- traefik.http.routers.bingo.tls.certresolver=lets-encrypt
- traefik.port=80
networks:
- web
- internal

View File

@@ -2,7 +2,7 @@ var headerText = "Puzzle Bingo";
var footerText = "<a href='https://github.com/id101010/HTML5-bingo/' target='_blank'>This versions is code available on github</a><br/><a href='https://www.youtube.com/watch?v=HIcSWuKMwOw' target='_blank'>Original code</a>"; var footerText = "<a href='https://github.com/id101010/HTML5-bingo/' target='_blank'>This versions is code available on github</a><br/><a href='https://www.youtube.com/watch?v=HIcSWuKMwOw' target='_blank'>Original code</a>";
var winText = "Gratulation, du erh&auml;lst (k)einen Bonus!"; var winText = "Gratulation, du erh&auml;lst (k)einen Teuerungsausgleich!";
var clickSnd = new Audio("audio/click.mp3"); var clickSnd = new Audio("audio/click.mp3");
@@ -92,5 +92,10 @@ var JSONBingo = {"squares": [
{"square":"Bonus"}, {"square":"Bonus"},
{"square":"Tim"}, {"square":"Tim"},
{"square":"Lars"}, {"square":"Lars"},
{"square":"cryptopus"},
{"square":"frontend"},
{"square":"security"},
{"square":"datenschutz"},
{"square":"Audit"},
] ]
}; };