aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml
blob: e7c700759c217a79e2013a50d56869f8d3f6c30e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: '2'
services:
      
  drsim:
    network_mode: "host"
    image: drsim_common:latest
    ports:
     - "3906:3906"
     - "3907:3907"
    container_name: dfc_dr-sim
    command: node dmaapDR.js ${DR_TC}

  drsim_redir:
    image: drsim_common:latest
    ports:
     - "3908:3908"
     - "3909:3909"
    container_name: dfc_dr-redir-sim
    command: node dmaapDR_redir.js ${DR_REDIR_TC}

  mrsim:
    image: mrsim:latest
    ports:
     - "2222:2222"
    container_name: dfc_mr-sim
    command: python mr-sim.py ${MR_TC}

  sftp-server:
    container_name: dfc_sftp-server
    image: atmoz/sftp:alpine
    ports:
      - "1022:22"
#    volumes:
#      - ./files/onap/sftp/:/home/onap/
    restart: on-failure
    command: onap:pano:1001


  ftpes-server-vsftpd:
    container_name: dfc_ftpes-server-vsftpd
    image: docker.io/panubo/vsftpd
    ports:
      - "21:21"
      - "8001-8010:8001-8010"
    environment:
      FTP_USER: onap
      FTP_PASSWORD: pano
      PASV_ADDRESS: localhost
      PASV_MIN_PORT: 8001
      PASV_MAX_PORT: 8010
    volumes:
      - ./tls/ftp.crt:/etc/ssl/private/ftp.crt:ro
      - ./tls/ftp.key:/etc/ssl/private/ftp.key:ro
      - ./tls/dfc.crt:/etc/ssl/private/dfc.crt:ro
      - ./configuration/vsftpd_ssl.conf:/etc/vsftpd_ssl.conf:ro

#      - ./files/onap/ftps/:/srv/
    restart: on-failure