blob: f4ff7d81c626c03277386778631229ed1b46152a [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}
13
14 image: nexus3.onap.org:10003/onap/pnf-simulator:4.0.0-SNAPSHOT
15 networks:
16 front-${I}:
17 ipv4_address: "${IPPNFSIM}"
18 volumes:
19 - ./logs:/var/log
20 - ./json_schema:/json_schema
21 env_file:
22 - ./config/netconf.env
23 restart: on-failure
24
25 sftp-server-${I}:
26 container_name: sftp-server-$I
27 image: atmoz/sftp:alpine
28 networks:
29 front-${I}:
30 ipv4_address: "${IPSFTP}"
31 volumes:
32 - ./files/onap/:/home/onap/
33 restart: on-failure
34 command: onap:pano:1001
35
36 ftpes-server-vsftpd-${I}:
37 container_name: ftpes-server-vsftpd-$I
38 image: docker.io/panubo/vsftpd
39 networks:
40 front-${I}:
41 ipv4_address: "${IPFTPS}"
42 environment:
43 FTP_USER: onap
44 FTP_PASSWORD: pano
45 PASV_ADDRESS: localhost
46 PASV_MIN_PORT: 8001
47 PASV_MAX_PORT: 8010
48 volumes:
49 - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
50 - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
51 - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
52 - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
53 - ./files/onap/0.5MB.tar.gz:/srv/0.5MB.tar.gz:ro
54 - ./files/onap/1MB.tar.gz:/srv/1MB.tar.gz:ro
55 - ./files/onap/5MB.tar.gz:/srv/5MB.tar.gz:ro
56 - ./files/onap/10MB.tar.gz:/srv/10MB.tar.gz:ro
57 restart: on-failure
58 command: vsftpd /etc/vsftpd_ssl.conf
59