blob: 2c9226a87fd31098fd0cf58b4ad29b62beae738a [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
RehanRazac5121c52019-04-04 12:42:15 +000022 environment:
23 TZ: "${TIMEZONE}"
TamasBakaid38feb62019-02-28 09:06:19 +000024 env_file:
25 - ./config/netconf.env
26 restart: on-failure
27
28 sftp-server-${I}:
29 container_name: sftp-server-$I
30 image: atmoz/sftp:alpine
31 networks:
32 front-${I}:
33 ipv4_address: "${IPSFTP}"
TamasBakaib59bffb2019-03-22 09:52:03 +000034 ports:
35 - "${PORTSFTP}:22"
TamasBakaid38feb62019-02-28 09:06:19 +000036 volumes:
37 - ./files/onap/:/home/onap/
38 restart: on-failure
39 command: onap:pano:1001
40
41 ftpes-server-vsftpd-${I}:
42 container_name: ftpes-server-vsftpd-$I
43 image: docker.io/panubo/vsftpd
44 networks:
45 front-${I}:
46 ipv4_address: "${IPFTPS}"
TamasBakaib59bffb2019-03-22 09:52:03 +000047 ports:
48 - "${PORTFTPS}:21"
TamasBakaid38feb62019-02-28 09:06:19 +000049 environment:
50 FTP_USER: onap
51 FTP_PASSWORD: pano
52 PASV_ADDRESS: localhost
53 PASV_MIN_PORT: 8001
54 PASV_MAX_PORT: 8010
55 volumes:
56 - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
57 - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
58 - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
59 - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
RehanRaza48f92042019-03-20 08:12:55 +000060 - ./files/onap/:/srv/
TamasBakaid38feb62019-02-28 09:06:19 +000061 restart: on-failure
62 command: vsftpd /etc/vsftpd_ssl.conf
63