-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (35 loc) · 895 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:
auth-app:
container_name: auth-services
build:
context: ./auth
dockerfile: Dockerfile
target: ${TARGET:-dev}
command: ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "5000", "--reload"]
ports:
- 5000:5000
volumes:
- ./auth/:/app
environment:
env_file: ./auth/.env
networks:
- community-network
localstack:
container_name: localstack
image: localstack/localstack
ports:
- 4566:4566
environment:
- SERVICES=dynamodb,s3
- DEFAULT_REGION=eu-west-1
- AWS_ACCESS_KEY_ID=access_key_id
- AWS_SECRET_ACCESS_KEY=secret_access_key
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "localstack:/tmp/localstack"
networks:
- community-network
networks:
- community-network:
external: true