blob: d2c5290331873accd8dea769a984a384a92dde38 [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:
TamasBakaie781c7c2019-07-11 11:26:20 +000048 - "${PORTFTPS}:21"
49 - "${FTPS_PASV_MIN}-${FTPS_PASV_MAX}:${FTPS_PASV_MIN}-${FTPS_PASV_MAX}"
TamasBakaid38feb62019-02-28 09:06:19 +000050 environment:
51 FTP_USER: onap
52 FTP_PASSWORD: pano
53 PASV_ADDRESS: localhost
TamasBakaie781c7c2019-07-11 11:26:20 +000054 PASV_MIN_PORT: ${FTPS_PASV_MIN}
55 PASV_MAX_PORT: ${FTPS_PASV_MAX}
TamasBakaid38feb62019-02-28 09:06:19 +000056 volumes:
57 - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
58 - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
59 - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
60 - ./config/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro
RehanRaza48f92042019-03-20 08:12:55 +000061 - ./files/onap/:/srv/
TamasBakaid38feb62019-02-28 09:06:19 +000062 restart: on-failure
63 command: vsftpd /etc/vsftpd_ssl.conf
64