Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
WEBLATE
=======
Weblate deployement using docker and docker compose
See : https://docs.weblate.org/en/latest/admin/install/docker.html
Requirements
------------
Needs paquerette ansible utility rôles : https://git.paquerette.eu/paquerette/infrastructure/ansible-paquerette
docker must be available on the machine
Role Variables
--------------
```yml
- role: weblate
app_instance_id: weblate_main
app_user: weblate_user
app_user_password: $6$w0Xq3Ebrn$kFq................
app_domain: weblate.domain.fr
app_admin_password: "sdj....."
database_password: "psp....;"
description: weblate
```
Default variables
Can be changed in instance configuration
```yml
app_admin: "admin"
app_admin_email: "{{ smtp_user }}"
WEBLATE_MT_MYMEMORY_ENABLED: 1
WEBLATE_REGISTRATION_OPEN: 1
```
Dependencies
------------
- base_server
- base_platform
- docker
Using the rôle
--------------
Installation :
--------------
`./play.py --inv hosts yourhost weblate_main reinstall`
Uninstallation :
----------------
WARNING: Uninsall will remove volumes
`/play.py --inv hosts yourhost weblate_main uninstall -e 'app_instance_to_uninstall=weblate_main'`
License
-------
GPL V3
Author Information
------------------
Jean-Yves LEBLEU jlebleu@gmail.com / contact@paquerette.eu