-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
165 lines (153 loc) · 4.39 KB
/
docker-compose.yml
File metadata and controls
165 lines (153 loc) · 4.39 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
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
162
163
164
165
version: '3'
#docker-compose -f ./docker-compose.yml up or docker-compose up
name: python-fn-basic-docker-api
services:
jenkins:
image: jenkins/jenkins:lts
privileged: true
user: root
ports:
- 8089:8080
- 50000:50000
container_name: jenkins
volumes:
- ~/jenkins:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
- /usr/local/bin/docker:/usr/local/bin/docker
networks:
- bridge
# docker run -d --name nifi_container -e NiFi_WEB_HTTPS_PORT='8080' -e SINGLE_USER_CREDENTIALS_USERNAME='admin' -e SINGLE_USER_CREDENTIALS_PASSWORD='1234' -p 8080:8080 -p 52020:52020 -p 8443:8443 -p 10000:10000 apache/nifi:latest
nifi:
image: apache/nifi:latest
ports:
- "8080:8080"
environment:
- NIFI_WEB_HTTP_PORT=8080
# Optional: set a default username and password for single-user authentication
# - SINGLE_USER_CREDENTIALS_USERNAME=admin
# - SINGLE_USER_CREDENTIALS_PASSWORD=your_password
volumes:
# Optional: mount a local directory for persistence
# - ./nifi_data:/opt/nifi/nifi-current/database_repository
container_name: nifi_container
restart: on-failure
networks:
- bridge
# docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
uptime-kuma:
image: louislam/uptime-kuma:2
restart: unless-stopped
volumes:
- ./data:/app/data
ports:
# <Host Port>:<Container Port>
- "3001:3001"
networks:
- bridge
meilisearch:
container_name: meilisearch
image: getmeili/meilisearch:v1.28.0
environment:
- http_proxy
- https_proxy
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY:-masterKey}
- MEILI_NO_ANALYTICS=${MEILI_NO_ANALYTICS:-true}
- MEILI_ENV=${MEILI_ENV:-development}
- MEILI_LOG_LEVEL
- MEILI_DB_PATH=${MEILI_DB_PATH:-/data.ms}
ports:
- ${MEILI_PORT:-7700}:7700
volumes:
- ./data.ms:/data.ms
restart: unless-stopped
networks:
- bridge
# After the containers are up, ZincSearch can be accessed in a web browser at http://localhost:4080
zincsearch:
image: public.ecr.aws/zincsearch/zincsearch:latest
container_name: zincsearch
ports:
- "4080:4080" # UI and API access
environment:
ZINC_FIRST_ADMIN_USER: admin
ZINC_FIRST_ADMIN_PASSWORD: 1234qwer
ZINC_DATA_PATH: /app/data
volumes:
- ./:/app/data # Persistent storage for ZincSearch data
networks:
- bridge
fn-es8:
image: docker.elastic.co/elasticsearch/elasticsearch:8.8.0
container_name: fn-es8
environment:
- http.host=0.0.0.0
- node.name=fn-dm-bees-omni-data-01
- node.roles=[data, master]
- cluster.name=docker-elasticsearch
- cluster.initial_master_nodes=fn-dm-bees-omni-data-01
- discovery.seed_hosts=fn-dm-bees-omni-data-01
- cluster.routing.allocation.disk.threshold_enabled=false
- ES_JAVA_OPTS=-Xms1g -Xmx1g
- xpack.security.enabled=false
- xpack.security.http.ssl.enabled=false
- xpack.license.self_generated.type=basic
- action.destructive_requires_name=false
- http.port=9202
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9202:9202
networks:
- bridge
fn-kibana8:
image: docker.elastic.co/kibana/kibana:8.8.0
container_name: fn-kibana8
environment:
ELASTICSEARCH_HOSTS: http://fn-es8:9202
SERVER_HOSTS: 0.0.0.0
ports:
- 25601:5601
networks:
- bridge
depends_on:
- fn-es8
fn-basic-docker-api:
image: fn-basic-docker-api:es
container_name: fn-basic-docker-api
build:
context: .
dockerfile: Dockerfile
target: runtime
ports:
- 1888:8888
volumes:
- ./:/app/FN-Basic-Services
restart: unless-stopped
# environment:
# - ES_HOST=http://host.docker.internal:9203
networks:
- bridge
fn-basic-docker-api-test:
image: ffn-basic-docker-api:test
container_name: fn-basic-docker-api-test
build:
context: .
dockerfile: Dockerfile
target: test
ports:
- 1889:8889
volumes:
- ./:/app/FN-Basic-Services
# restart: unless-stopped
# environment:
# - ES_HOST=http://host.docker.internal:9203
networks:
- bridge
volumes:
data:
driver: local
networks:
bridge:
driver: bridge