blob: 5e9acbe8ef33a72eefe36bd0aedb4a83df34b5de [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:
wsliwka86e07402019-11-20 13:20:08 +010042 image: nexus3.onap.org:10003/netopeer
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
Wojciech Sliwka032ff222019-07-10 13:48:52 +020059 command:
60 - /netconf/initialize_netopeer.sh
61
62 sftp-server:
63 image: atmoz/sftp:alpine
64 ports:
65 - "2222:22"
66 volumes:
67 - ./sftp:/home/sftp-user/sftp
68 - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub
69 networks:
70 - netconfnetwork
71 restart: on-failure
72 command: sftp-user::1001
73
74 ftpes-server:
75 image: stilliard/pure-ftpd:latest
76 ports:
77 - "2221:21"
78 - "30000-30009:30000-30009"
79 volumes:
80 - ./ftpes/files:/home/ftpusers/onap
81 - ./ftpes/userpass/:/etc/pure-ftpd/passwd/
82 - ./ftpes/tls/:/etc/ssl/private/
83 networks:
84 - netconfnetwork
85 environment:
86 PUBLICHOST: localhost
87 ADDED_FLAGS: --tls=2
88 FTP_USER_HOME: onap
89 restart: on-failure
90
91networks:
92 netconfnetwork:
93 driver: bridge