blob: bbb983fd4ff39875c24d897563341e056095c93f [file] [log] [blame]
Pawel Kadlubanski43269652018-06-15 16:13:45 +02001version: '3'
2
3services:
4 pnf-simulator:
5 container_name: pnf-simulator
Marcin Migdal62f74182019-01-18 12:32:36 +01006 image: nexus3.onap.org:10003/onap/pnf-simulator:4.0.0-SNAPSHOT
Pawel Kadlubanski43269652018-06-15 16:13:45 +02007 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"
Rahul Tyagie7f4e5e2019-02-22 19:59:54 +000023 - "6513:6513"
Marcin Migdal1f81ed12018-08-28 14:41:04 +020024 volumes:
25 - ./netconf:/netconf
Rahul Tyagie7f4e5e2019-02-22 19:59:54 +000026 - ./netopeer_tls_cfg:/netopeer_tls_cfg
Pawel Kadlubanski43269652018-06-15 16:13:45 +020027 env_file:
28 - ./config/netconf.env
Marcin Migdal1f81ed12018-08-28 14:41:04 +020029 restart: on-failure
30 depends_on:
31 - sftp-server
Marcin Migdal7b601172018-10-30 14:08:37 +010032 - ftpes-server-pure-ftpd
33 - ftpes-server-vsftpd
Rahul Tyagib4db7772019-03-01 03:14:46 +000034 command: bash -c "/netopeer_tls_cfg/entrypoint.sh"
Marcin Migdal1f81ed12018-08-28 14:41:04 +020035
36 sftp-server:
37 container_name: sftp-server
38 image: atmoz/sftp:alpine
39 ports:
Marcin Migdal136068d2018-08-29 16:05:20 +020040 - "2222:22"
Pawel Kadlubanski43269652018-06-15 16:13:45 +020041 volumes:
Marcin Migdal1f81ed12018-08-28 14:41:04 +020042 - ./sftp:/home/sftp-user/sftp
Marcin Migdal01473522018-08-30 14:39:02 +020043 - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub:ro
Marcin Migdal1f81ed12018-08-28 14:41:04 +020044 restart: on-failure
micdzied2f1f2442018-09-13 14:44:59 +020045 command: sftp-user::1001
46
Marcin Migdal7b601172018-10-30 14:08:37 +010047 ftpes-server-pure-ftpd:
48 container_name: ftpes-server-pure-ftpd
Marcin Migdal81f99832018-09-17 14:34:28 +020049 image: stilliard/pure-ftpd:latest
micdzied2f1f2442018-09-13 14:44:59 +020050 ports:
51 - "2221:21"
Marcin Migdalbd188442018-09-27 15:48:40 +020052 - "30000-30009:30000-30009"
micdzied2f1f2442018-09-13 14:44:59 +020053 volumes:
Marcin Migdalbd188442018-09-27 15:48:40 +020054 - ./ftpes/files:/home/ftpusers/onap
micdziedd96bb412018-10-22 15:08:50 +020055 - ./ftpes/pure-ftpd/userpass/:/etc/pure-ftpd/passwd/
56 - ./ftpes/pure-ftpd/tls/:/etc/ssl/private/
micdzied2f1f2442018-09-13 14:44:59 +020057 environment:
58 PUBLICHOST: localhost
micdziedb2e6ad02018-10-26 11:24:45 +020059 ADDED_FLAGS: --tls=2
Marcin Migdalbd188442018-09-27 15:48:40 +020060 FTP_USER_HOME: onap
micdziedd96bb412018-10-22 15:08:50 +020061 restart: on-failure
62
Marcin Migdal7b601172018-10-30 14:08:37 +010063 ftpes-server-vsftpd:
64 container_name: ftpes-server-vsftpd
micdziedd96bb412018-10-22 15:08:50 +020065 image: docker.io/panubo/vsftpd
66 ports:
67 - "8221:21"
68 - "8001-8010:8001-8010"
69 environment:
70 FTP_USER: onap
71 FTP_PASSWORD: pano
micdziedb2e6ad02018-10-26 11:24:45 +020072 PASV_ADDRESS: localhost
micdziedd96bb412018-10-22 15:08:50 +020073 PASV_MIN_PORT: 8001
74 PASV_MAX_PORT: 8010
75 volumes:
micdziedb2e6ad02018-10-26 11:24:45 +020076 - ./ftpes/vsftpd/tls/vsftpd.crt:/etc/ssl/private/vsftpd.crt:ro
77 - ./ftpes/vsftpd/tls/vsftpd.key:/etc/ssl/private/vsftpd.key:ro
micdziedd96bb412018-10-22 15:08:50 +020078 - ./ftpes/vsftpd/configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
micdziedb2e6ad02018-10-26 11:24:45 +020079 - ./ftpes/files/onap/ftpes-onap.txt:/home/vsftpd/onap/ftpes-onap.txt:ro
80 - ./ftpes/files/onap/ftpes-onap.txt:/srv/ftpes-onap.txt:ro
micdziedd96bb412018-10-22 15:08:50 +020081 restart: on-failure
82 command: vsftpd /etc/vsftpd_ssl.conf
Marcin Migdal7b601172018-10-30 14:08:37 +010083