blob: f53226867134f874c2ef26190a1949c3a66a129f [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}"
32 volumes:
33 - ./files/onap/:/home/onap/
34 restart: on-failure
35 command: onap:pano:1001
36
37 ftpes-server-vsftpd-${I}:
38 container_name: ftpes-server-vsftpd-$I
39 image: docker.io/panubo/vsftpd
40 networks:
41 front-${I}:
42 ipv4_address: "${IPFTPS}"
43 environment:
44 FTP_USER: onap
45 FTP_PASSWORD: pano
46 PASV_ADDRESS: localhost
47 PASV_MIN_PORT: 8001
48 PASV_MAX_PORT: 8010
49 volumes:
50 - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
51 - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
52 - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
53 - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
RehanRaza48f92042019-03-20 08:12:55 +000054 - ./files/onap/:/srv/
TamasBakaid38feb62019-02-28 09:06:19 +000055 restart: on-failure
56 command: vsftpd /etc/vsftpd_ssl.conf
57