Break cache temp
This commit is contained in:
parent
30bc1805f4
commit
eb3d2edaf5
3 changed files with 10 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
dest: "gitea/{{ item.dest }}"
|
||||
loop:
|
||||
- { src: 'docker-compose.yml', dest: 'docker-compose.yml' }
|
||||
- { src: 'config.yml', dest: 'config.yml' }
|
||||
register: gitea_copy_templates_results
|
||||
|
||||
- name: Update and restart container
|
||||
|
|
5
roles/gitea/templates/config.yml
Normal file
5
roles/gitea/templates/config.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
cache:
|
||||
enabled: true
|
||||
dir: ""
|
||||
host: 0.0.0.0
|
||||
port: 8088
|
|
@ -45,10 +45,14 @@ services:
|
|||
restart: unless-stopped
|
||||
depends_on:
|
||||
- gitea
|
||||
ports:
|
||||
- 8088:8088
|
||||
volumes:
|
||||
- ./config.yml:/config.yml
|
||||
- {{ server.work_dir }}/gitea/runner/:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- CONFIG_FILE=/config.yml
|
||||
- GITEA_INSTANCE_URL=https://gitea.{{ server.domain }}
|
||||
- GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner_registration_token }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue