-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (68 loc) · 2.04 KB
/
docker-compose.yml
File metadata and controls
72 lines (68 loc) · 2.04 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
version: "3.9"
services:
seamanstreamer_core:
image: seamanstreamer_core
build:
context: .
dockerfile: Dockerfile
depends_on:
- mongodb
environment:
SEAMAN_STANDALONE_MODE: false
SEAMAN_RESTORE_STOPPED: false
MONGO_HOST: mongodb
MONGO_PORT: 27017
MONGO_DATABASE: ${DB_DATABASE}
MONGO_USER: ${DB_USER}
MONGO_PASSWORD: ${DB_PASS}
SEAMAN_KAFKA_HOST: 127.0.0.1
SEAMAN_KAFKA_PORT: 9093
SEAMAN_MQTT_PROTOCOL: tcp
SEAMAN_MQTT_HOST: 127.0.0.1
SEAMAN_MQTT_PORT: 1883
SEAMAN_MQTT_INPUT_CLIENT_ID: semann/source
SEAMAN_MQTT_OUTPUT_CLIENT_ID: semann/sink
SEAMAN_MQTT_ERROR_CLIENT_ID: semann/error
SEAMAN_MQTT_MONITOR_INPUT_CLIENT_ID: semann/monitor/input
SEAMAN_MQTT_MONITOR_OUTPUT_CLIENT_ID: semann/monitor/output
SEAMAN_LOG_TO_FILE: false
SEAMAN_LOG_LEVEL: "INFO"
ports:
- ${SEAMAN_REST_PORT}:8080
volumes:
- seaman_log:/seamanstreamer_core/log
mongodb:
# image: mongo:latest
image: bitnami/mongodb:6.0.2
volumes:
- mongodb_data:/bitnami
# ports:
# - 27017:27017
environment:
# - MONGODB_ADVERTISED_HOSTNAME=mongo
MONGODB_ROOT_USER: mongo_root
MONGODB_ROOT_PASSWORD: change_this_weak_password
ALLOW_EMPTY_PASSWORD: "false"
MONGODB_USERNAME: ${DB_USER}
MONGODB_DATABASE: ${DB_DATABASE}
MONGODB_PASSWORD: ${DB_PASS}
mongo-express:
image: mongo-express:1.0.0-alpha
restart: always
ports:
- ${SEAMAN_MONGO_EXPRESS_PORT}:8081
environment:
ME_CONFIG_BASICAUTH_USERNAME: ${MONGO_EXPRESS_USER}
ME_CONFIG_BASICAUTH_PASSWORD: ${MONGO_EXPRESS_PASS}
ME_CONFIG_MONGODB_ENABLE_ADMIN: true
ME_CONFIG_MONGODB_ADMINUSERNAME: mongo_root
ME_CONFIG_MONGODB_ADMINPASSWORD: change_this_weak_password
ME_CONFIG_MONGODB_SERVER: mongodb
ME_CONFIG_MONGODB_PORT: "27017"
ME_CONFIG_OPTIONS_EDITORTHEME: midnight
depends_on:
- mongodb
volumes:
seaman_log:
mongodb_data:
driver: local