-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
43 lines (41 loc) · 1.14 KB
/
local.yml
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
---
# Docker compose
version: '3.8'
services:
ecs-local-endpoints:
image: amazon/amazon-ecs-local-container-endpoints:latest-local
volumes:
- /var/run:/var/run
- $HOME/.aws/:/home/.aws/
environment:
ECS_LOCAL_METADATA_PORT: "51679"
HOME: "/home"
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-eu-west-1}
AWS_PROFILE: ${AWS_PROFILE:-default}
ports:
- 51679:51679
container_name: ecs-local-endpoints
sftpserver:
volumes:
- /tmp/sftp:/tmp/:rw
image: atmoz/sftp
ports:
- 2200:22/tcp
command: foo:pass:::upload
s3-to-sftp:
# image: public.ecr.aws/ews-network/s3-to-sftp:latest
build:
context: .
environment:
QUEUE_NAME: "s3-to-sftp-testing-sqs-PTA3K2F3Z2DS-JobsQueue-I3kTRXEAYqBh"
SFTP_TARGET: '{"host": "sftpserver", "port": 22, "username": "foo", "password": "pass", "default_path": "upload"}'
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI: "/creds"
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-eu-west-1}
depends_on:
- sftpserver
- ecs-local-endpoints
links:
- sftpserver
command:
- --transfer-rate
- "5"