restart: unless-stopped
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 21s
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 21s
This commit is contained in:
parent
d2e25188cc
commit
d7fe8eb263
@ -13,7 +13,7 @@ networks:
|
|||||||
services:
|
services:
|
||||||
gitea:
|
gitea:
|
||||||
image: gitea/gitea:{{ gitea_vars['version'] }}-rootless
|
image: gitea/gitea:{{ gitea_vars['version'] }}-rootless
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/gitea
|
- ./data:/var/lib/gitea
|
||||||
- ./config:/etc/gitea
|
- ./config:/etc/gitea
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: "{{ gitea_vars['database']['db_type'] }}:{{ gitea_vars['database']['docker_image_tag'] }}"
|
image: "{{ gitea_vars['database']['db_type'] }}:{{ gitea_vars['database']['docker_image_tag'] }}"
|
||||||
restart: always
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- "MYSQL_DATABASE={{ gitea_vars.database.name }}"
|
- "MYSQL_DATABASE={{ gitea_vars.database.name }}"
|
||||||
- "MYSQL_USER={{ gitea_vars.database.user }}"
|
- "MYSQL_USER={{ gitea_vars.database.user }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user