forked from blaineventurine/home-automation-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.information-mangement.yml
executable file
·146 lines (142 loc) · 4.89 KB
/
docker-compose.information-mangement.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
version: "3.7"
services:
nextcloud:
container_name: nextcloud
restart: always
image: linuxserver/nextcloud:latest
volumes:
- ${USERDIR}/nextcloud/config:/config
# path to where nextcloud will store files
- ${USERDIR}/nextcloud/data:/data
- ${USERDIR}/shared:/shared
ports: #comment this out when traefik is up unless you want local networka access
- "9443:443"
environment:
- PUID=${PUID}
- PGID=${PGID}
- MYSQL_DATABASE=${NEXTCLOUD_DATABASE}
- MYSQL_USER=${NEXTCLOUD_DB_USER}
- MYSQL_PASSWORD=${NEXTCLOUD_DB_PASSWORD}
- REDIS_HOST=redis
networks:
- traefik_proxy
depends_on:
- "pihole"
- "mariadb"
- "redis"
links:
- mariadb
labels:
- "traefik.enable=true"
- "traefik.backend=nextcloud"
- "traefik.frontend.rule=Host:nextcloud.${DOMAINNAME}"
- "traefik.port=443"
- "traefik.protocol=https"
- "traefik.docker.network=traefik_proxy"
- "traefik.frontend.headers.SSLRedirect=true"
- "traefik.frontend.headers.STSSeconds=315360000"
- "traefik.frontend.headers.browserXSSFilter=true"
- "traefik.frontend.headers.contentTypeNosniff=true"
- "traefik.frontend.headers.forceSTSHeader=true"
- "traefik.frontend.headers.SSLHost=${DOMAINNAME}.com"
- "traefik.frontend.headers.STSIncludeSubdomains=true"
- "traefik.frontend.headers.STSPreload=true"
- "traefik.frontend.headers.frameDeny=true"
- "traefik.frontend.headers.customFrameOptionsValue=SAMEORIGIN"
- com.centurylinklabs.watchtower.enable="false"
organizr:
container_name: organizr
restart: always
image: lsiocommunity/organizr:latest
volumes:
- ${USERDIR}/organizr:/config
- ${USERDIR}/shared:/shared
#ports:
# - "XXXX:80"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
networks:
- traefik_proxy
labels:
- "traefik.enable=true"
- "traefik.backend=organizr"
- "traefik.frontend.rule=Host:organizr.${DOMAINNAME}"
#- "traefik.frontend.rule=Host:${DOMAINNAME}; PathPrefixStrip: /organizr"
- "traefik.port=80"
- "traefik.protocol=https"
- "traefik.docker.network=traefik_proxy"
- "traefik.frontend.headers.SSLRedirect=true"
- "traefik.frontend.headers.STSSeconds=315360000"
- "traefik.frontend.headers.browserXSSFilter=true"
- "traefik.frontend.headers.contentTypeNosniff=true"
- "traefik.frontend.headers.forceSTSHeader=true"
- "traefik.frontend.headers.SSLHost=${DOMAINNAME}.com"
- "traefik.frontend.headers.STSIncludeSubdomains=true"
- "traefik.frontend.headers.STSPreload=true"
#- "traefik.frontend.headers.frameDeny=true"
- "traefik.frontend.headers.customFrameOptionsValue=SAMEORIGIN"
- "traefik.frontend.headers.contentSecurityPolicy=upgrade-insecure-requests"
- "traefik.frontend.headers.customResponseHeaders=X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex"
bookstack:
container_name: bookstack
image: solidnerd/bookstack:latest
depends_on:
- mariadb
environment:
- DB_HOST=mariadb:${MARIA_DB_PORT}
- DB_DATABASE=${BOOKSTACK_DATABASE}
- DB_USERNAME=${BOOKSTACK_DATABASE_USERNAME}
- DB_PASSWORD=${BOOKSTACK_DATABASE_PASSWORD}
volumes:
- ${USERDIR}/bookstack/uploads:/var/www/bookstack/public/uploads
- ${USERDIR}/bookstack/storage:/var/www/bookstack/public/storage
ports:
- "8581:80"
firefly_iii:
container_name: firefly_iii
image: jc5x/firefly-iii:latest
depends_on:
- mariadb
links:
- mariadb
networks:
- default
ports:
- "8675:80"
volumes:
- ${USERDIR}/fireflyiii/storage/export:/var/www/firefly-iii/storage/export
- ${USERDIR}/fireflyiii/storage/upload:/var/www/firefly-iii/storage/upload
- ${USERDIR}/fireflyiii/storage:/var/www/firefly-iii/storage/
environment:
- TZ=${TZ}
- DB_CONNECTION=mysql
- DB_HOST=mariadb
- DB_PORT=${MARIA_DB_PORT}
- DB_DATABASE=${FIREFLY_DATABASE}
- DB_USERNAME=${FIREFLY_USER}
- DB_PASSWORD=${FIREFLY_DB_PASSWORD}
- APP_KEY=${FIREFLY_APP_KEY}
- APP_LOG_LEVEL=debug
- APP_ENV=local
monicahq:
container_name: monica
image: monicahq/monicahq
depends_on:
- mariadb
ports:
- "9521:80"
volumes:
- ${USERDIR}/monica:/var/www/monica/storage
restart: always
environment:
- DB_CONNECTION=mysql
- DB_HOST=mariadb
- DB_PORT=${MARIA_DB_PORT}
- DB_DATABASE=${MONICA_DATABASE}
- DB_USERNAME=${MONICA_DATABASE_USER}
- DB_PASSWORD=${MONICA_DB_PASSWORD}
- APP_KEY=${MONICA_APP_KEY}
- APP_LOG_LEVEL=debug
- APP_ENV=local