This commit is contained in:
parent
41b3733482
commit
6c3bd0f1d4
@ -16,15 +16,22 @@
|
|||||||
- name: gitea
|
- name: gitea
|
||||||
uid: 42001
|
uid: 42001
|
||||||
state: present
|
state: present
|
||||||
|
- name: score
|
||||||
|
uid: 42003
|
||||||
|
state: present
|
||||||
- name: factorio
|
- name: factorio
|
||||||
uid: 845
|
uid: 845
|
||||||
state: present
|
state: present
|
||||||
- name: hackmd
|
- name: hackmd
|
||||||
uid: 1500
|
uid: 1500
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: hedgedoc
|
- name: hedgedoc
|
||||||
uid: 10000
|
uid: 10000
|
||||||
state: absent
|
state: absent
|
||||||
|
- name: bsa
|
||||||
|
uid: 42002
|
||||||
|
state: absent
|
||||||
# All services that are behind Caddy need to be in this network
|
# All services that are behind Caddy need to be in this network
|
||||||
- name: Create Caddy network
|
- name: Create Caddy network
|
||||||
become: true
|
become: true
|
||||||
@ -87,6 +94,14 @@
|
|||||||
owner: factorio
|
owner: factorio
|
||||||
group: factorio
|
group: factorio
|
||||||
mode: u=rwx,g=,o=
|
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
|
# Since some docker-compose configuration might want to pull
|
||||||
# images from the Gitea package repository, we need to ensure
|
# images from the Gitea package repository, we need to ensure
|
||||||
# that Gitea is reachable before those configurations are deployed.
|
# that Gitea is reachable before those configurations are deployed.
|
||||||
@ -129,6 +144,8 @@
|
|||||||
state: present
|
state: present
|
||||||
- name: utoy
|
- name: utoy
|
||||||
state: present
|
state: present
|
||||||
|
- name: score
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: factorio
|
- name: factorio
|
||||||
state: absent
|
state: absent
|
||||||
|
@ -44,3 +44,7 @@ glebby.pbrinkmeier.de {
|
|||||||
utoy.beany.club {
|
utoy.beany.club {
|
||||||
reverse_proxy utoy:3000
|
reverse_proxy utoy:3000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
score.brocke.net {
|
||||||
|
reverse_proxy score:8080
|
||||||
|
}
|
||||||
|
16
docker/docker/score/docker-compose.yaml
Normal file
16
docker/docker/score/docker-compose.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user