Add gitea config running on port 30000
This commit is contained in:
+5
-5
@@ -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.
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user