forked from credija/openfire
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
63 lines (60 loc) · 1.44 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
53
54
55
56
57
58
59
60
61
62
63
version: "3.7"
volumes:
openfire-db-volume:
openfire-volume-data:
openfire-volume-log:
services:
openfire-db:
labels:
- "type=config"
image: ${PSG_IMAGE:-postgres}
container_name: openfire-postgres
hostname: openfire-db
volumes:
#- ${APP_PATH}/DB:/docker-entrypoint-initdb.d
- openfire-db-volume:/var/lib/postgresql/data
ports:
- "5445:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=openfire
#- POSTGRES_MULTIPLE_DATABASES=
restart: always
networks:
- v6-net
logging:
options:
max-file: "10"
max-size: "50m"
# https://stackoverflow:com/questions/39271281/chat-history-and-monitoring-plugin-openfire/39411476:
openfire:
labels:
- "type=config"
image: ${OPENFIRE_IMAGE:-apektas/openfire:4.6.0}
container_name: cfs-openfire
hostname: cfs-openfire
volumes:
- openfire-volume-data:/var/lib/openfire
- openfire-volume-log:/var/log/openfire
ports:
- "9090:9090/tcp"
- "9091:9091/tcp"
- "5222:5222/tcp"
- "7777:7777/tcp"
# or to be able to used with plugins for Openfire Meetings
depends_on:
- openfire-db
# environment:
# - ipAddr=cfs-postgres
# - xmppDomain=5432
restart: always
networks:
- v6-net
logging:
options:
max-file: "10"
max-size: "50m"
networks:
v6-net:
name: v6