aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/docker-compose.yml
blob: 6a381bd75276c7607d1ac4657d3a2f23662823dd (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
version: '3'

services:
  pnf-simulator:
    container_name: pnf-simulator
    image: nexus3.onap.org:10003/onap/pnf-simulator:latest
    ports:
      - "5000:5000"
    volumes:
      - ./logs:/var/log
      - ./json_schema:/json_schema
    env_file:
      - ./config/netconf.env
    restart: on-failure
    depends_on:
      - netopeer

  netopeer:
    container_name: netopeer
    image: sysrepo/sysrepo-netopeer2:latest
    ports:
      - "830:830"
    volumes:
      - ./netconf:/netconf
    env_file:
      - ./config/netconf.env
    restart: on-failure
    depends_on:
      - sftp-server

  sftp-server:
    container_name: sftp-server
    image: atmoz/sftp:alpine
    ports:
      - "2222:22"
    volumes:
      - ./sftp:/home/sftp-user/sftp
    restart: on-failure
    command: sftp-user:sftp-password