forked from namikingsoft/docker-restyaboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (49 loc) · 1.38 KB
/
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
48
49
50
51
52
data:
image: busybox
volumes:
- /docker/volumes/restya/es:/usr/share/elasticsearch/data
- /docker/volumes/restya/db:/var/lib/postgresql/data
- /docker/volumes/restya/nginx:/usr/share/nginx/html
command: tail -f /dev/null
restart: always
elasticsearch:
image: elasticsearch
volumes_from:
- data
restart: always
postgres:
image: postgres:9.4
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes_from:
- data
restart: always
restyaboard:
image: restyaboard:0.3.0
environment:
RESTYA_DB_ADMIN_USER: postgres
RESTYA_DB_ADMIN_PASSWORD: postgres
RESTYA_DB_HOST: postgres
RESTYA_DB_PORT: 5432
RESTYA_DB_NAME: restyaboard
RESTYA_DB_USER: restyaboard
RESTYA_DB_PASSWORD: restyaboard
RESTYA_TIMEZONE: Europe/Paris
RESTYA_SERVER_NAME: centos-docker
RESTYA_MAIL_DOMAIN: whisperingvault.net
RESTYA_EJABBERD_DB_HOST: postgres
RESTYA_EJABBERD_DB_PORT: 5432
RESTYA_EJABBERD_DB_NAME: ejabberd
RESTYA_EJABBERD_DB_USER: ejabberd
RESTYA_EJABBERD_DB_PASSWORD: ejabberd
# Optional
#RESTYA_MAIL_RELAYHOST: xxx
links:
- elasticsearch:elasticsearch
- postgres:postgres
ports:
- 1234:80
volumes_from:
- data
restart: always