blob: ebacb4f1b03761e9cc5df576d2d714617067a525 [file] [log] [blame]
Wojciech Sliwka032ff222019-07-10 13:48:52 +02001version: '3'
2
3services:
4 zookeeper:
5 image: wurstmeister/zookeeper
6 ports:
7 - "2181:2181"
8 networks:
9 - netconfnetwork
10
11 kafka1:
12 image: wurstmeister/kafka:1.1.0
13 ports:
14 - "9092:9092"
15 hostname: kafka1
16 networks:
17 - netconfnetwork
18 environment:
19 KAFKA_ADVERTISED_PORT: 9092
20 KAFKA_ADVERTISED_HOST_NAME: kafka1
21 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
22 KAFKA_CREATE_TOPICS: "config:1:1"
23 KAFKA_DELETE_RETENTION_MS: 604800000
24 KAFKA_LOG_CLEANER_DELETE_RETENTION_MS: 604800000
25 depends_on:
26 - zookeeper
27
28 netconf-simulator:
wsliwka49653842019-08-08 09:56:34 +020029 image: nexus3.onap.org:10003/onap/netconfsimulator
Wojciech Sliwka032ff222019-07-10 13:48:52 +020030 ports:
31 - "9000:8080"
32 restart: on-failure
33 hostname: netconf-simulator
34 networks:
35 - netconfnetwork
36 depends_on:
37 - zookeeper
38 - kafka1
39 - netopeer
40
41 netopeer:
gummarbe1df2c2019-11-12 11:26:31 +000042 image: sysrepo/sysrepo-netopeer2:devel
Wojciech Sliwka032ff222019-07-10 13:48:52 +020043 ports:
44 - "830:830"
45 - "5002:5002"
46 - "6513:6513"
47 volumes:
48 - ./netconf:/netconf
49 - ./netopeer-change-saver-native:/netopeer-change-saver
50 - ./tls:/tls
51 env_file:
52 - ./config/netconf.env
53 restart: on-failure
54 networks:
55 - netconfnetwork
56 depends_on:
57 - sftp-server
58 - ftpes-server
59 environment:
60 http_proxy: ${http_proxy}
61 https_proxy: ${https_proxy}
62 command:
63 - /netconf/initialize_netopeer.sh
64
65 sftp-server:
66 image: atmoz/sftp:alpine
67 ports:
68 - "2222:22"
69 volumes:
70 - ./sftp:/home/sftp-user/sftp
71 - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub
72 networks:
73 - netconfnetwork
74 restart: on-failure
75 command: sftp-user::1001
76
77 ftpes-server:
78 image: stilliard/pure-ftpd:latest
79 ports:
80 - "2221:21"
81 - "30000-30009:30000-30009"
82 volumes:
83 - ./ftpes/files:/home/ftpusers/onap
84 - ./ftpes/userpass/:/etc/pure-ftpd/passwd/
85 - ./ftpes/tls/:/etc/ssl/private/
86 networks:
87 - netconfnetwork
88 environment:
89 PUBLICHOST: localhost
90 ADDED_FLAGS: --tls=2
91 FTP_USER_HOME: onap
92 restart: on-failure
93
94networks:
95 netconfnetwork:
96 driver: bridge