Add score
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul Brinkmeier 2023-06-08 23:55:38 +02:00
parent 41b3733482
commit 6c3bd0f1d4
3 changed files with 37 additions and 0 deletions

View File

@ -16,15 +16,22 @@
- name: gitea
uid: 42001
state: present
- name: score
uid: 42003
state: present
- name: factorio
uid: 845
state: present
- name: hackmd
uid: 1500
state: present
- name: hedgedoc
uid: 10000
state: absent
- name: bsa
uid: 42002
state: absent
# All services that are behind Caddy need to be in this network
- name: Create Caddy network
become: true
@ -87,6 +94,14 @@
owner: factorio
group: factorio
mode: u=rwx,g=,o=
- name: Create score data folder
become: true
ansible.builtin.file:
path: /var/lib/pbri/docker/score
state: directory
owner: score
group: score
mode: u=rwx,g=,o=
# Since some docker-compose configuration might want to pull
# images from the Gitea package repository, we need to ensure
# that Gitea is reachable before those configurations are deployed.
@ -129,6 +144,8 @@
state: present
- name: utoy
state: present
- name: score
state: present
- name: factorio
state: absent

View File

@ -44,3 +44,7 @@ glebby.pbrinkmeier.de {
utoy.beany.club {
reverse_proxy utoy:3000
}
score.brocke.net {
reverse_proxy score:8080
}

View File

@ -0,0 +1,16 @@
version: "3"
services:
score:
image: ghcr.io/lbrocke/score:v1.0.1
user: "42003:42003"
volumes:
- /var/lib/pbri/docker/score:/data
working_dir: /data
entrypoint: "/app/score 0.0.0.0:8080"
restart: unless-stopped
networks:
default:
name: caddy-network
external: true