blob: aa0261c0a75d9c8d3b0dfe2bd15fe68868c90402 [file] [log] [blame]
TamasBakaid38feb62019-02-28 09:06:19 +00001version: '2'
2networks:
3 front-${I}:
4 driver: bridge
5 ipam:
6 config:
7 - gateway: "${IPGW}"
8 subnet: "${IPSUBNET}/28"
9 driver: default
10services:
11 pnf-simulator-${I}:
12 container_name: pnf-simulator-${I}
TamasBakai114c21c2019-03-19 09:56:28 +000013 image: nexus3.onap.org:10003/onap/masspnf-simulator:1.0.0-SNAPSHOT
TamasBakaid38feb62019-02-28 09:06:19 +000014 networks:
15 front-${I}:
16 ipv4_address: "${IPPNFSIM}"
17 volumes:
18 - ./logs:/var/log
19 - ./json_schema:/json_schema
TamasBakai114c21c2019-03-19 09:56:28 +000020 - ./config/config.yml:/config/config.yml:rw
21 - ./files/:/files/:rw
TamasBakaid38feb62019-02-28 09:06:19 +000022 env_file:
23 - ./config/netconf.env
24 restart: on-failure
25
26 sftp-server-${I}:
27 container_name: sftp-server-$I
28 image: atmoz/sftp:alpine
29 networks:
30 front-${I}:
31 ipv4_address: "${IPSFTP}"
TamasBakaib59bffb2019-03-22 09:52:03 +000032 ports:
33 - "${PORTSFTP}:22"
TamasBakaid38feb62019-02-28 09:06:19 +000034 volumes:
35 - ./files/onap/:/home/onap/
36 restart: on-failure
37 command: onap:pano:1001
38
39 ftpes-server-vsftpd-${I}:
40 container_name: ftpes-server-vsftpd-$I
41 image: docker.io/panubo/vsftpd
42 networks:
43 front-${I}:
44 ipv4_address: "${IPFTPS}"
TamasBakaib59bffb2019-03-22 09:52:03 +000045 ports:
46 - "${PORTFTPS}:21"
TamasBakaid38feb62019-02-28 09:06:19 +000047 environment:
48 FTP_USER: onap
49 FTP_PASSWORD: pano
50 PASV_ADDRESS: localhost
51 PASV_MIN_PORT: 8001
52 PASV_MAX_PORT: 8010
53 volumes:
54 - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
55 - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
56 - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
57 - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
RehanRaza48f92042019-03-20 08:12:55 +000058 - ./files/onap/:/srv/
TamasBakaid38feb62019-02-28 09:06:19 +000059 restart: on-failure
60 command: vsftpd /etc/vsftpd_ssl.conf
61