Add gitea config running on port 30000

This commit is contained in:
2022-09-14 19:31:54 +02:00
parent f225c8b37e
commit 108cbf6588
4 changed files with 79 additions and 10 deletions
+5 -5
View File
@@ -20,12 +20,12 @@ Sets up:
## `misc-docker.yaml`
- Deploys Docker configurations from `../docker`
Deploys Docker configurations from `../docker`:
- Copies configuration into `/etc/pbri/docker`
- Creates folder `/var/lib/pbri/docker` for storing application files
- Creates users with `42xxx` UIDs for running containers
## `misc-sites.yaml`
Checks out static sites into `/home/paul/Sites` which is mounted into `/srv` in the Caddy container.
## `misc-backup.yaml`
Backs up relevant Docker volumes.
+14 -4
View File
@@ -26,15 +26,25 @@
debug: yes
loop:
- name: web
state: present
state: absent
- name: runner
state: absent
- name: Add jupyter user with UID 42000
- name: gitea
state: present
- name: Add users for running containers
become: yes
ansible.builtin.user:
name: jupyter
uid: 42000
name: "{{ item.name }}"
uid: "{{ item.uid }}"
create_home: no
state: present
loop:
- name: jupyter
uid: 42000
state: present
- name: gitea
uid: 42001
state: present
- name: Add Notebooks folder
become: yes
ansible.builtin.file: