-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (35 loc) · 962 Bytes
/
docker-compose.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
version: '3.8'
services:
sftp:
image: atmoz/sftp:alpine
container_name: sftp
volumes:
- ./tests/fixtures:/home/extract/upload
ports:
- "2222:22"
command: extract:password:1001
database:
image: postgres:latest
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- '5432:5432'
volumes:
- ./database_setup:/docker-entrypoint-initdb.d
- /var/run/docker.sock:/var/run/docker.sock
moto-server:
image: motoserver/moto
container_name: motoserver
environment:
- TEST_SERVER_MODE=true
- AWS_SECRET_ACCESS_KEY=testing
- AWS_ACCESS_KEY_ID=testing
- MOTO_DOCKER_NETWORK_MODE=host
ports:
- '5000:5000'
volumes:
- .:/moto
- /var/run/docker.sock:/var/run/docker.sock