nginx, gitea, pi-hole
This commit is contained in:
24
roles/docker_spin_up/tasks/gitea.yml
Normal file
24
roles/docker_spin_up/tasks/gitea.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: gitea
|
||||
community.docker.docker_container:
|
||||
image: gitea/gitea:1.19.3
|
||||
name: gitea
|
||||
env:
|
||||
USER_UID: "1000"
|
||||
USER_GID: "1000"
|
||||
GITEA__database__DB_TYPE: "mysql"
|
||||
GITEA__database__HOST: "{{ mysql_host}}:3306"
|
||||
GITEA__database__NAME: "{{ GITEA__database__NAME }}"
|
||||
GITEA__database__USER: "{{ GITEA__database__USER }}"
|
||||
GITEA__database__PASSWD: "{{ GITEA__database__PASSWD }}"
|
||||
ROOT_URL: "http://pi-vpn:8082/"
|
||||
restart_policy: always
|
||||
networks:
|
||||
- name: http
|
||||
volumes:
|
||||
- "{{ docker_homepath }}/gitea:/data"
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
# - "8082:3000"
|
||||
- "222:22"
|
||||
Reference in New Issue
Block a user