Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 1 | version: '3' |
| 2 | |
| 3 | services: |
| 4 | pnf-simulator: |
| 5 | container_name: pnf-simulator |
| 6 | image: nexus3.onap.org:10003/onap/pnf-simulator:latest |
| 7 | ports: |
| 8 | - "5000:5000" |
| 9 | volumes: |
| 10 | - ./logs:/var/log |
Marcin Migdal | ffd5266 | 2018-08-02 13:40:25 +0200 | [diff] [blame] | 11 | - ./json_schema:/json_schema |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 12 | env_file: |
| 13 | - ./config/netconf.env |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 14 | restart: on-failure |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 15 | depends_on: |
| 16 | - netopeer |
| 17 | |
| 18 | netopeer: |
| 19 | container_name: netopeer |
| 20 | image: sysrepo/sysrepo-netopeer2:latest |
| 21 | ports: |
| 22 | - "830:830" |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 23 | volumes: |
| 24 | - ./netconf:/netconf |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 25 | env_file: |
| 26 | - ./config/netconf.env |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 27 | restart: on-failure |
| 28 | depends_on: |
| 29 | - sftp-server |
| 30 | |
| 31 | sftp-server: |
| 32 | container_name: sftp-server |
| 33 | image: atmoz/sftp:alpine |
| 34 | ports: |
Marcin Migdal | 136068d | 2018-08-29 16:05:20 +0200 | [diff] [blame] | 35 | - "2222:22" |
Pawel Kadlubanski | 4326965 | 2018-06-15 16:13:45 +0200 | [diff] [blame] | 36 | volumes: |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 37 | - ./sftp:/home/sftp-user/sftp |
Marcin Migdal | 0147352 | 2018-08-30 14:39:02 +0200 | [diff] [blame] | 38 | - ./ssh/ssh_host_rsa_key.pub:/home/sftp-user/.ssh/keys/ssh_host_rsa_key.pub:ro |
Marcin Migdal | 1f81ed1 | 2018-08-28 14:41:04 +0200 | [diff] [blame] | 39 | restart: on-failure |
micdzied | 2f1f244 | 2018-09-13 14:44:59 +0200 | [diff] [blame^] | 40 | command: sftp-user::1001 |
| 41 | |
| 42 | ftpes-server: |
| 43 | image: stilliard/pure-ftpd:latest |
| 44 | container_name: ftpes-server |
| 45 | ports: |
| 46 | - "2221:21" |
| 47 | # - "30000-30009:30000-30009" |
| 48 | volumes: |
| 49 | - ./ftpes/userpass/:/etc/pure-ftpd/passwd/ |
| 50 | - ./ftpes/tls/:/etc/ssl/private/ |
| 51 | environment: |
| 52 | PUBLICHOST: localhost |
| 53 | ADDED_FLAGS: --tls=2 |
| 54 | # entrypoint: /run.sh -c 5 -C 5 -l puredb:/etc/pure-ftpd/pureftpd.pdb -E -j -R -p 30000:30009 |
| 55 | restart: on-failure |