-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
162 lines (150 loc) · 4.4 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
version: '3.3'
services:
ejabberd:
container_name: ejabberd
image: tommyziegler/rpi-ejabberd:v0.1
restart: always
ports:
- 5222:5222
- 5269:5269
- 5280:5280
environment:
- ERLANG_NODE=ejabberd@localhost
- XMPP_DOMAIN=example.com
- EJABBERD_ADMIN=admin@example.com
volumes:
- ./ejabberd_data/ssl:/opt/ejabberd/ejabberd-15.03/ssl
- ./ejabberd_data/upload:/opt/ejabberd/ejabberd-15.03/upload
- ./ejabberd_data/database:/opt/ejabberd/ejabberd-15.03/database
- ./ejabberd_data/logs:/opt/ejabberd/ejabberd-15.03/logs
- ./ejabberd_data/conf:/opt/ejabberd/ejabberd-15.03/conf
wordpress:
container_name: wordpress
image: wordpress:5.2.2-php7.3
restart: always
ports:
- 9999:80
environment:
WORDPRESS_DB_HOST: wordpress_db:3306
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: db_password
WORDPRESS_CONFIG_EXTRA: |
define( 'WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] );
define( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] );
volumes:
- ./wordpress.php.conf.uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
- ./wordpress_data:/var/www/html
depends_on:
- wordpress_db
wordpress_db:
container_name: wordpress_db
image: hypriot/rpi-mysql:5.5
restart: always
environment:
MYSQL_ROOT_PASSWORD: db_password
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: db_password
volumes:
- ./wordpress_db_data:/var/lib/mysql
photoTrivia:
container_name: phototrivia
image: makswinner/phototrivia:1.2-SNAPSHOT
restart: always
ports:
- 8888:8888
volumes:
- /mnt/my_photos:/photos
- ./photos.application.properties:/application.properties
freepbx:
#build: .
container_name: freepbx
image: epandi/asterisk-freepbx-rpi:15
ports:
- 11080:80
- 5060:5060
- 5060:5060/udp
- 5160:5160
- 5160:5160/udp
- 10000-10020:10000-10020/udp
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./asterisk_data/conf:/etc/asterisk
- ./asterisk_data/var_lib_asterisk:/var/lib/asterisk
- ./asterisk_data/mysql:/var/lib/mysql
- ./asterisk_data/var_spool:/var/spool/asterisk
- ./asterisk_data/msmtprc:/etc/msmtprc
- ./asterisk_data/ssl:/etc/ssl
- ./asterisk_data/amportal.conf:/etc/amportal.conf
- ./asterisk_data/logs:/var/log
# uncomment below to be able to translate to/from opus,
# copy over a codec binary file from freepbx linux distro for your architecture
#- ./asterisk_data/codec_opus_open_source.so:/usr/lib/asterisk/modules/codec_opus_open_source.so
environment:
- TZ=Europe/Helsinki
restart: always
trilium:
container_name: trilium
image: hlince/trilium:0.37.8-stable-arm
restart: always
ports:
- 11111:8080
environment:
- TRILIUM_DATA_DIR=/data
volumes:
- ./trilium_data:/data
selfoss:
container_name: selfoss
image: hardware/selfoss-2.18
restart: always
ports:
- 5555:8888
volumes:
- ./selfoss_data:/selfoss/data
pihole:
container_name: pihole
image: pihole/pihole:4.3.2-1
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- 53:53
- 53:53/udp
#- 67:67/udp
- 20080:80
- 20443:443
environment:
TZ: 'America/Chicago'
volumes:
- ./pi-hole_data/etc-pihole/:/etc/pihole/
- ./pi-hole_data/etc-dnsmasq.d/:/etc/dnsmasq.d/
- ./pihole_index.php:/var/www/html/pihole/index.php
# run `touch ./var-log/pihole.log` first unless you like errors
# - './var-log/pihole.log:/var/log/pihole.log'
dns:
- 127.0.0.1
- 1.1.1.1
# Recommended but not required (DHCP needs NET_ADMIN)
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN
restart: always
openvpn:
container_name: openvpn
image: giggio/openvpn-arm:latest
restart: always
ports:
- 1194:1194/udp
cap_add:
- NET_ADMIN
volumes:
- ./openvpn_data:/etc/openvpn
node-red:
container_name: node-red
image: nodered/node-red:1.1.3
restart: always
environment:
- TZ=Europe/Helsinki
ports:
- 1880:1880
volumes:
- ./node-red_data:/data