-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
74 lines (70 loc) · 2.3 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
# Use this file to pull GenieACS from DockerHub #
version: "3"
services:
# Dockerfile for MongoDB STB
mongo:
image: ferilagi/mongodb-stb:6.0.11
container_name: mongodb
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: secretPASSWORD
volumes:
- data_db:/data/db
- data_configdb:/data/configdb
networks:
- genieacs_network
mongo-express:
image: mongo-express
container_name: mongoexpress
restart: always
ports:
- 8081:8081
environment:
ME_CONFIG_MONGODB_URL: mongodb://root:Digimon21@mongo:27017/
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: secretPASSWORD
ME_CONFIG_BASICAUTH: true
ME_CONFIG_BASICAUTH_USERNAME: admin
ME_CONFIG_BASICAUTH_PASSWORD: admin123
# Dockerfile: https://hub.docker.com/r/drumsergio/genieacs/dockerfile
genieacs:
depends_on:
- 'mongo'
image: ferilagi/genieacs:arm64
restart: always
container_name: "genieacs"
environment:
- GENIEACS_UI_JWT_SECRET=changeme
- GENIEACS_CWMP_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-cwmp-access.log
- GENIEACS_NBI_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-nbi-access.log
- GENIEACS_FS_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-fs-access.log
- GENIEACS_UI_ACCESS_LOG_FILE=/var/log/genieacs/genieacs-ui-access.log
- GENIEACS_DEBUG_FILE=/var/log/genieacs/genieacs-debug.yaml
- GENIEACS_EXT_DIR=/opt/genieacs/ext
- GENIEACS_MONGODB_CONNECTION_URL=mongodb://root:secretPASSWORD@mongo:27017/genieacs
ports:
- 7547:7547
- 7557:7557
- 7567:7567
- 3000:3000
volumes:
- opt_volume:/opt
networks:
- genieacs_network
### THIS SERVICE IS JUST FOR TESTING PURPOSES ###
# genieacs-sim:
# depends_on:
# - 'genieacs'
# image: ferilagi/genieacs-sim
# container_name: "genieacs-sim"
# networks:
# - genieacs_network
volumes:
data_db:
data_configdb:
opt_volume:
networks:
genieacs_network: