Fix syntax.

This commit is contained in:
yohan 2024-10-27 23:39:19 +01:00
parent 704c0daa8c
commit 51896bf4b6

View File

@ -74,8 +74,6 @@
- not gitea_first_install | default(False) | bool
- not gitea_restored_flag.stat.exists
- debug: var=gitea_db_password
- name: Create gitea container
containers.podman.podman_container:
name: gitea
@ -88,14 +86,14 @@
- 2223:22/tcp
volume:
- /mnt/volumes/gitea_data/data:/data:Z
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=mysql
- GITEA__database__HOST=mysql-server:3306
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD={{ gitea_db_password }}
env:
USER_UID: "1000"
USER_GID: "1000"
GITEA__database__DB_TYPE: "mysql"
GITEA__database__HOST: "mysql-server:3306"
GITEA__database__NAME: "gitea"
GITEA__database__USER: "gitea"
GITEA__database__PASSWD: "{{ gitea_db_password }}"
dns_search: "{{ SHORTNAME }}-sub.{{ DOMAIN }}"
generate_systemd:
path: /etc/systemd/system