blob: d853ca9daec949db9ce5bc0c2c80a126cebec459 [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
Marcin Migdal7b601172018-10-30 14:08:37 +010030 - ftpes-server-pure-ftpd
31 - ftpes-server-vsftpd
Marcin Migdal1f81ed12018-08-28 14:41:04 +020032
33 sftp-server:
34 container_name: sftp-server
35 image: atmoz/sftp:alpine
36 ports:
Marcin Migdal136068d2018-08-29 16:05:20 +020037 - "2222:22"
Pawel Kadlubanski43269652018-06-15 16:13:45 +020038 volumes:
Marcin Migdal1f81ed12018-08-28 14:41:04 +020039 - ./sftp:/home/sftp-user/sftp
Marcin Migdal01473522018-08-30 14:39:02 +020040 - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub:ro
Marcin Migdal1f81ed12018-08-28 14:41:04 +020041 restart: on-failure
micdzied2f1f2442018-09-13 14:44:59 +020042 command: sftp-user::1001
43
Marcin Migdal7b601172018-10-30 14:08:37 +010044 ftpes-server-pure-ftpd:
45 container_name: ftpes-server-pure-ftpd
Marcin Migdal81f99832018-09-17 14:34:28 +020046 image: stilliard/pure-ftpd:latest
micdzied2f1f2442018-09-13 14:44:59 +020047 ports:
48 - "2221:21"
Marcin Migdalbd188442018-09-27 15:48:40 +020049 - "30000-30009:30000-30009"
micdzied2f1f2442018-09-13 14:44:59 +020050 volumes:
Marcin Migdalbd188442018-09-27 15:48:40 +020051 - ./ftpes/files:/home/ftpusers/onap
micdziedd96bb412018-10-22 15:08:50 +020052 - ./ftpes/pure-ftpd/userpass/:/etc/pure-ftpd/passwd/
53 - ./ftpes/pure-ftpd/tls/:/etc/ssl/private/
micdzied2f1f2442018-09-13 14:44:59 +020054 environment:
55 PUBLICHOST: localhost
micdziedb2e6ad02018-10-26 11:24:45 +020056 ADDED_FLAGS: --tls=2
Marcin Migdalbd188442018-09-27 15:48:40 +020057 FTP_USER_HOME: onap
micdziedd96bb412018-10-22 15:08:50 +020058 restart: on-failure
59
Marcin Migdal7b601172018-10-30 14:08:37 +010060 ftpes-server-vsftpd:
61 container_name: ftpes-server-vsftpd
micdziedd96bb412018-10-22 15:08:50 +020062 image: docker.io/panubo/vsftpd
63 ports:
64 - "8221:21"
65 - "8001-8010:8001-8010"
66 environment:
67 FTP_USER: onap
68 FTP_PASSWORD: pano
micdziedb2e6ad02018-10-26 11:24:45 +020069 PASV_ADDRESS: localhost
micdziedd96bb412018-10-22 15:08:50 +020070 PASV_MIN_PORT: 8001
71 PASV_MAX_PORT: 8010
72 volumes:
micdziedb2e6ad02018-10-26 11:24:45 +020073 - ./ftpes/vsftpd/tls/vsftpd.crt:/etc/ssl/private/vsftpd.crt:ro
74 - ./ftpes/vsftpd/tls/vsftpd.key:/etc/ssl/private/vsftpd.key:ro
micdziedd96bb412018-10-22 15:08:50 +020075 - ./ftpes/vsftpd/configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
micdziedb2e6ad02018-10-26 11:24:45 +020076 - ./ftpes/files/onap/ftpes-onap.txt:/home/vsftpd/onap/ftpes-onap.txt:ro
77 - ./ftpes/files/onap/ftpes-onap.txt:/srv/ftpes-onap.txt:ro
micdziedd96bb412018-10-22 15:08:50 +020078 restart: on-failure
79 command: vsftpd /etc/vsftpd_ssl.conf
Marcin Migdal7b601172018-10-30 14:08:37 +010080