blob: ebacb4f1b03761e9cc5df576d2d714617067a525 (
plain)
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
|
version: '3'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
networks:
- netconfnetwork
kafka1:
image: wurstmeister/kafka:1.1.0
ports:
- "9092:9092"
hostname: kafka1
networks:
- netconfnetwork
environment:
KAFKA_ADVERTISED_PORT: 9092
KAFKA_ADVERTISED_HOST_NAME: kafka1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_CREATE_TOPICS: "config:1:1"
KAFKA_DELETE_RETENTION_MS: 604800000
KAFKA_LOG_CLEANER_DELETE_RETENTION_MS: 604800000
depends_on:
- zookeeper
netconf-simulator:
image: nexus3.onap.org:10003/onap/netconfsimulator
ports:
- "9000:8080"
restart: on-failure
hostname: netconf-simulator
networks:
- netconfnetwork
depends_on:
- zookeeper
- kafka1
- netopeer
netopeer:
image: sysrepo/sysrepo-netopeer2:devel
ports:
- "830:830"
- "5002:5002"
- "6513:6513"
volumes:
- ./netconf:/netconf
- ./netopeer-change-saver-native:/netopeer-change-saver
- ./tls:/tls
env_file:
- ./config/netconf.env
restart: on-failure
networks:
- netconfnetwork
depends_on:
- sftp-server
- ftpes-server
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
command:
- /netconf/initialize_netopeer.sh
sftp-server:
image: atmoz/sftp:alpine
ports:
- "2222:22"
volumes:
- ./sftp:/home/sftp-user/sftp
- ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub
networks:
- netconfnetwork
restart: on-failure
command: sftp-user::1001
ftpes-server:
image: stilliard/pure-ftpd:latest
ports:
- "2221:21"
- "30000-30009:30000-30009"
volumes:
- ./ftpes/files:/home/ftpusers/onap
- ./ftpes/userpass/:/etc/pure-ftpd/passwd/
- ./ftpes/tls/:/etc/ssl/private/
networks:
- netconfnetwork
environment:
PUBLICHOST: localhost
ADDED_FLAGS: --tls=2
FTP_USER_HOME: onap
restart: on-failure
networks:
netconfnetwork:
driver: bridge
|