forked from 1drop/pootle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.rancher.yml
46 lines (44 loc) · 1.1 KB
/
docker-compose.rancher.yml
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
version: '2'
services:
nginx:
image: 1drop/pootle:nginx
depends_on:
- pootle
volumes_from:
- pootle
environment:
- VIRTUAL_HOST=pootle.docker
- VIRTUAL_PORT=80
pootle:
image: 1drop/pootle:pootle
labels:
io.rancher.sidekicks: nginx
depends_on:
- redis
- mysql
volumes:
- /data/pootle/l10n_ter:/l10n_ter
- /data/pootle/po:/srv/pootle/po
- /data/pootle/git-clones:/srv/pootle/git-clones
environment:
- SECRET_KEY=YOUR SECRET KEY HERE
- DOMAIN=pootle.docker
- POOTLE_TITLE=TYPO3 Translation Server
- POOTLE_ADMIN_NAME=John Doe
- MYSQL_ROOT_PASSWORD=pootle
- MYSQL_USER=pootle
- MYSQL_PASSWORD=pootle
- MYSQL_DATABASE=pootle_db
mysql:
image: mariadb:10
volumes:
- /data/pootle/mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=pootle
- MYSQL_USER=pootle
- MYSQL_PASSWORD=pootle
- MYSQL_DATABASE=pootle_db
redis:
image: redis