blob: 5f73cde744ecfb5a3d3df81fa61706ca2a90dc6d [file] [log] [blame]
Pawel Kadlubanski43269652018-06-15 16:13:45 +02001version: '3'
2
3services:
4 pnf-simulator:
5 container_name: pnf-simulator
6 image: nexus3.onap.org:10003/onap/pnf-simulator:latest
7 ports:
8 - "5000:5000"
9 volumes:
10 - ./logs:/var/log
Marcin Migdalffd52662018-08-02 13:40:25 +020011 - ./json_schema:/json_schema
Pawel Kadlubanski43269652018-06-15 16:13:45 +020012 env_file:
13 - ./config/netconf.env
Marcin Migdal1f81ed12018-08-28 14:41:04 +020014 restart: on-failure
Pawel Kadlubanski43269652018-06-15 16:13:45 +020015 depends_on:
16 - netopeer
17
18 netopeer:
19 container_name: netopeer
20 image: sysrepo/sysrepo-netopeer2:latest
21 ports:
22 - "830:830"
Marcin Migdal1f81ed12018-08-28 14:41:04 +020023 volumes:
24 - ./netconf:/netconf
Pawel Kadlubanski43269652018-06-15 16:13:45 +020025 env_file:
26 - ./config/netconf.env
Marcin Migdal1f81ed12018-08-28 14:41:04 +020027 restart: on-failure
28 depends_on:
29 - sftp-server
30
31 sftp-server:
32 container_name: sftp-server
33 image: atmoz/sftp:alpine
34 ports:
Marcin Migdal136068d2018-08-29 16:05:20 +020035 - "2222:22"
Pawel Kadlubanski43269652018-06-15 16:13:45 +020036 volumes:
Marcin Migdal1f81ed12018-08-28 14:41:04 +020037 - ./sftp:/home/sftp-user/sftp
Marcin Migdal01473522018-08-30 14:39:02 +020038 - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub:ro
Marcin Migdal1f81ed12018-08-28 14:41:04 +020039 restart: on-failure
Marcin Migdal01473522018-08-30 14:39:02 +020040 command: sftp-user::1001