-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (47 loc) · 949 Bytes
/
docker-compose.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
46
47
version: '3'
services:
weblate:
image: weblate/weblate:4.2.2-3
privileged: true
ports:
<<<<<<< HEAD
- 8088:8080
=======
- 8085:80
>>>>>>> 7820dda049379c04c81a082d6af65ed927341d3f
volumes:
- ./weblate-data:/app/data
env_file:
- ./environment
restart: always
depends_on:
- database
- cache
database:
image: postgres:9.6-alpine
privileged: true
ports:
- 5431:5432
env_file:
- ./environment
volumes:
- ./postgres-data:/var/lib/postgresql/data
restart: always
apache:
image: httpd
privileged: true
labels:
- convox.port.443.protocol=tls
ports:
- 80:80
- 443:80
volumes:
- ./apachecerts:/etc/ssl/certs
- ./apacheconfig:/tmp
cache:
image: redis:4-alpine
privileged: true
restart: always
command: ["redis-server", "--appendonly", "yes"]
volumes:
- ./redis-data:/data