-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontainer-compose.yaml
134 lines (126 loc) · 3.45 KB
/
container-compose.yaml
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
# version: "3"
services:
mongo:
image: mongo
restart: always
container_name: genieacs-mongo
environment:
- MONGO_INITDB_ROOT_USERNAME=genieacs
- MONGO_INITDB_ROOT_PASSWORD=genieacs
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/var/log/mongodb
volumes:
- genieacs-mongodb:/data/db
- genieacs-mongodb-data-configdb:/data/configdb
- /etc/localtime:/etc/localtime:ro
ports:
- "27017:27017"
networks:
# - frontend
- backend
cwmp:
depends_on:
- 'mongo'
image: localhost/genieacs-cwmp
restart: always
container_name: genieacs-cwmp
environment:
- GENIEACS_MONGODB_CONNECTION_URL=mongodb://genieacs:genieacs@mongo:27017/
- GENIEACS_CWMP_ACCESS_LOG_FILE=./logs/genieacs-cwmp-access.log
- GENIEACS_EXT_DIR=./genieacs/ext
# - GENIEACS_DEBUG_FILE=./logs/genieacs-debug.yaml
# - NODE_OPTIONS="--enable-source-maps UV_THREADPOOL_SIZE=12 max_old_space_size=4096"
# - GENIEACS_EXT_TIMEOUT=1000000
# - GENIEACS_MAX_COMMIT_ITERATIONS=30000
# - GENIEACS_CWMP_ALIVE_TIMEOUT=120000
# - GENIEACS_CWMP_INTERFACE="::"
# - GENIEACS_MAX_CONCURRENT_REQUESTS=20000
volumes:
- genieacs-cwmp:/genieacs
- /etc/localtime:/etc/localtime:ro
ports:
- "7547:7547"
networks:
- frontend
- backend
cap_add:
- NET_RAW
nbi:
depends_on:
- 'mongo'
image: localhost/genieacs-nbi
restart: always
container_name: genieacs-nbi
environment:
- GENIEACS_MONGODB_CONNECTION_URL=mongodb://genieacs:genieacs@mongo:27017/
volumes:
- genieacs-nbi:/genieacs
- /etc/localtime:/etc/localtime:ro
ports:
- '7557:7557'
networks:
- frontend
- backend
cap_add:
- NET_RAW
fs:
depends_on:
- 'mongo'
image: localhost/genieacs-fs
restart: always
container_name: genieacs-fs
environment:
- GENIEACS_MONGODB_CONNECTION_URL=mongodb://genieacs:genieacs@mongo:27017/
volumes:
- genieacs-fs:/genieacs
- /etc/localtime:/etc/localtime:ro
ports:
- '7567:7567'
networks:
- frontend
- backend
cap_add:
- NET_RAW
ui:
depends_on:
- 'mongo'
image: localhost/genieacs-ui
restart: always
container_name: genieacs-ui
environment:
- GENIEACS_MONGODB_CONNECTION_URL=mongodb://genieacs:genieacs@mongo:27017/
- GENIEACS_UI_JWT_SECRET=changeme
volumes:
- genieacs-ui:/genieacs
- /etc/localtime:/etc/localtime:ro
ports:
- '3000:3000'
networks:
- backend
- frontend
cap_add:
- NET_RAW
cliente-1:
depends_on:
- 'genieacs-cwmp'
image: localhost/genieacs/simu:latest
networks:
- frontend
- backend
volumes:
- /home/ojpojao/projects/genieacs-container/genieacs-sim-docker/device-788CB5-Device2-22333A0000563-2024-04-06T200715093Z.csv:/opt/genieacs-sim/device-788CB5-Device2-22333A0000563-2024-04-06T200715093Z.csv:Z,U
ports:
- 8000:7547
# ./genieacs-sim -u http://genieacs-cwmp:7547 -m ./device-788CB5-Device2-22333A0000563-2024-04-06T200715093Z.csv
# entrypoint:
# - "./opt/genieacs-sim/genieacs-sim -u http://genieacs-cwmp:7547 -m ./device-788CB5-Device2-22333A0000563-2024-04-06T200715093Z.csv"
volumes:
genieacs-mongodb:
genieacs-mongodb-data-configdb:
genieacs-cwmp:
genieacs-nbi:
genieacs-fs:
genieacs-ui:
networks:
backend: {}
frontend: {}