restart: unless-stopped
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 21s

This commit is contained in:
Marius Alwan Meyer 2024-01-05 18:03:53 +01:00
parent d2e25188cc
commit d7fe8eb263

View File

@ -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 }}"