forked from uniuuu/zotprime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
135 lines (123 loc) · 3.14 KB
/
docker-compose-dev.yml
File metadata and controls
135 lines (123 loc) · 3.14 KB
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
# Development overrides - adds build contexts for local development
services:
zotprime-db:
# image: mysql:5.6
pull_policy: build
build:
context: ./stack/db
dockerfile: db.Dockerfile
# command: --default-authentication-plugin=mysql_native_password
# ulimits:
# nofile:
# soft: 262144
# hard: 262144
zotprime-elasticsearch:
pull_policy: build
build:
context: ./stack/elasticsearch
dockerfile: es.Dockerfile
# - cluster.routing.allocation.disk.threshold_enabled=false
# - bootstrap.memory_lock=true
# - cluster.routing.allocation.disk.watermark.flood_stage=500mb
# sysctls:
# - vm.max_map_count=262144
# cap-add:
# - SYS_ADMIN
# privileged: true
# user: root
# command:
# - /bin/bash
# - -c
# - |
# sysctl -w vm.max_map_count=262144 &&
# su elasticsearch -c bin/elasticsearch
# command:
# - /bin/bash
# - -c
# - |
# sysctl -w vm.max_map_count=262144 &&
# su elasticsearch -c bin/es-docker
zotprime-redis:
pull_policy: build
build:
context: ./stack/redis
dockerfile: r.Dockerfile
# privileged: true
# user: root
# sysctls:
# - sysctl vm.overcommit_memory=1
zotprime-memcached:
pull_policy: build
build:
context: ./stack/memcached
dockerfile: m.Dockerfile
zotprime-localstack:
pull_policy: build
build:
context: ./stack/localstack
dockerfile: ls.Dockerfile
zotprime-minio:
pull_policy: build
build:
context: ./stack/minio
dockerfile: minio.Dockerfile
# - "8082:9000"
zotprime-miniomc:
pull_policy: build
build:
context: ./stack/minio
dockerfile: miniomc.Dockerfile
environment:
- MINIO_ROOT_USER=${MINIOROOTUSER}
- MINIO_ROOT_PASSWORD=${MINIOROOTPASSWORD}
- MINIO_TRACE_LEVEL=${MINIO_TRACE_LEVEL:-none}
depends_on:
- zotprime-minio
links:
- zotprime-minio:minio
networks:
zotprime:
ipv4_address: 10.5.5.15
# exec sleep inf;
zotprime-dataserver:
pull_policy: build
build:
context: ./stack/dataserver
dockerfile: ds.Dockerfile
# extra_hosts:
# - "zotero.localhost:127.0.0.1"
# - "zotero-fulltext.localhost:127.0.0.1"
# - "8082:8082"
# - "9000:9000"
zotprime-tinymceclean:
pull_policy: build
build:
context: ./stack/tinymce-clean-server
dockerfile: tmcs.Dockerfile
zotprime-streamserver:
pull_policy: build
build:
context: ./stack/stream-server
dockerfile: sts.Dockerfile
# - "./docker/stream-server/default.js:/usr/src/app/config/default.js:ro"
zotprime-phpmyadmin:
pull_policy: build
build:
context: ./stack/phpmyadmin
dockerfile: pa.Dockerfile
zotprime-admin:
profiles: ["admin"]
pull_policy: build
build:
context: ./stack/admin
dockerfile: admin.Dockerfile
zotprime-portal:
profiles: ["portal"]
pull_policy: build
build:
context: ./stack/webui
dockerfile: webui.Dockerfile
# zotprime-init:
# build:
# context: ./stack/init
# dockerfile: Dockerfile