62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
|
version: '0.10'
|
||
|
services:
|
||
|
- service:
|
||
|
- name: nginx
|
||
|
override: null
|
||
|
- name: site_update
|
||
|
engine: none
|
||
|
file:
|
||
|
- text: /sbin/site_update
|
||
|
mode: 755
|
||
|
- name: site_update
|
||
|
type: timer
|
||
|
engine: none
|
||
|
variables:
|
||
|
- family:
|
||
|
- name: nginx
|
||
|
variables:
|
||
|
- variable:
|
||
|
- name: nginx_root
|
||
|
redefine: true
|
||
|
value:
|
||
|
- text: /srv/git/site/static
|
||
|
- name: forgejo
|
||
|
variables:
|
||
|
- variable:
|
||
|
- name: site_domain_name
|
||
|
hidden: true
|
||
|
supplier: Site
|
||
|
- name: site_user_name
|
||
|
type: unix_user
|
||
|
hidden: true
|
||
|
supplier: Site:username
|
||
|
value:
|
||
|
- text: site
|
||
|
- name: site_user_mail
|
||
|
type: mail
|
||
|
description: Email de l'utilisateur Site dans Forgejo
|
||
|
supplier: Site:email
|
||
|
- name: site_user_password
|
||
|
type: password
|
||
|
hidden: true
|
||
|
supplier: Site:password
|
||
|
constraints:
|
||
|
- fill:
|
||
|
- name: get_password
|
||
|
param:
|
||
|
- type: variable
|
||
|
name: server_name
|
||
|
text: domain_name_eth0
|
||
|
- type: variable
|
||
|
name: username
|
||
|
text: site_user_name
|
||
|
- name: description
|
||
|
text: site
|
||
|
- name: type
|
||
|
text: cleartext
|
||
|
- name: hide
|
||
|
type: variable
|
||
|
text: hide_secret
|
||
|
target:
|
||
|
- text: site_user_password
|