forked from pamendoz/personalDockerCompose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
130 lines (121 loc) · 2.64 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
version: "3.7"
services:
traefik:
image: traefik:v2.0.4
restart: unless-stopped
container_name: traefik
hostname: traefik
networks:
- proxy
ports:
- 80:80
- 443:443
volumes:
- ./:/etc/traefik/
environment:
OVH_ENDPOINT:
OVH_APPLICATION_KEY:
OVH_APPLICATION_SECRET:
OVH_CONSUMER_KEY:
nextcloud:
build: .
restart: unless-stopped
container_name: nextcloud
hostname: nextcloud
networks:
- proxy
depends_on:
- db
- redis
- documentserver
volumes:
- nextcloud-main:/var/www/html
- nextcloud-apps:/var/www/html/custom_apps
- nextcloud-config:/var/www/html/config
- nextcloud-data:/var/www/html/data
environment:
NEXTCLOUD_TRUSTED_DOMAINS: "cloud.domain.tld"
REDIS_HOST: redis
REDIS_HOST_PASSWORD: password
POSTGRES_DB: nextcloud
POSTGRES_USER: superUser
POSTGRES_PASSWORD: password
POSTGRES_HOST: "db:5432"
documentserver:
image: onlyoffice/documentserver
restart: unless-stopped
container_name: documentserver
hostname: documentserver
networks:
- proxy
depends_on:
- db
volumes:
- ds-logs:/var/log/onlyoffice
- ds-cache:/var/lib/onlyoffice
environment:
JWT_ENABLED: "true"
JWT_SECRET: password
db:
image: postgres:12.1
restart: unless-stopped
container_name: db
hostname: db
networks:
- proxy
volumes:
- db-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: superUser
POSTGRES_PASSWORD: password
redis:
image: redis:5.0
restart: unless-stopped
container_name: redis
hostname: redis
environment:
REDIS_PASSWORD: password
volumes:
- redis-db:/bitnami/redis/data
- redis-config:/opt/bitnami/redis/etc/redis.conf
networks:
- proxy
jellyfin:
image: jellyfin/jellyfin:10.4.1
restart: unless-stopped
container_name: jellyfin
hostname: jellyfin
volumes:
- jellyfin-config:/config
- jellyfin-cache:/cache
- nextcloud-data:/media:ro
networks:
- proxy
bitwarden:
image: bitwardenrs/server:1.12.0
restart: unless-stopped
container_name: bitwarden
hostname: bitwarden
networks:
- proxy
volumes:
- bw-data:/data
environment:
WEBSOCKET_ENABLED: "true"
SIGNUPS_ALLOWED: "true"
volumes:
nextcloud-main:
nextcloud-apps:
nextcloud-config:
nextcloud-data:
ds-logs:
ds-cache:
db-data:
redis-db:
redis-config:
jellyfin-config:
jellyfin-cache:
bw-data:
networks:
proxy:
name: proxy