-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathdocker-compose.yml
64 lines (60 loc) · 2.08 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
# Use this file to pull GenieACS from DockerHub #
version: "3"
services:
# Dockerfile here: https://github.com/docker-library/mongo/blob/6932ac255d29759af9a74c6931faeb02de0fe53e/4.0/Dockerfile
mongo:
image: mongo:7.0
restart: always
container_name: "mongo-genieacs"
environment:
# - MONGO_INITDB_ROOT_USERNAME=userchange
# - MONGO_INITDB_ROOT_PASSWORD=passwordchange
- MONGO_DATA_DIR=/data/db
- MONGO_LOG_DIR=/var/log/mongodb
volumes:
- data_db:/data/db
- data_configdb:/data/configdb
expose:
- 27017
networks:
- genieacs_network
# Dockerfile: https://hub.docker.com/r/drumsergio/genieacs/dockerfile
genieacs:
depends_on:
- 'mongo'
image: drumsergio/genieacs:1.2.13
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://mongo/genieacs
ports:
- "7547:7547"
- "7557:7557"
- "7567:7567"
- "3000:3000"
volumes:
- opt_volume:/opt
networks:
- genieacs_network
### THIS SERVICE IS JUST FOR TESTING PURPOSES ###
# Dockerfile here: https://hub.docker.com/r/drumsergio/genieacs-sim/dockerfile
genieacs-sim:
depends_on:
- 'genieacs'
image: drumsergio/genieacs-sim
container_name: "genieacs-sim"
networks:
- genieacs_network
volumes:
data_db:
data_configdb:
opt_volume:
networks:
genieacs_network: