-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
85 lines (77 loc) · 2.04 KB
/
docker-compose.yml
File metadata and controls
85 lines (77 loc) · 2.04 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3.8'
services:
docker-rabbitmq:
image: rabbitmq:3.8-management
restart: always
ports:
- "5672:5672"
- "15672:15672"
environment:
- "RABBITMQ_DEFAULT_PASS=very_secret_cookie_password"
- "RABBITMQ_DEFAULT_USER=cookieMq"
logging:
driver: none
networks:
- java_develop
docker-dynamodb:
image: amazon/dynamodb-local
restart: always
command: "-jar DynamoDBLocal.jar -sharedDb"
working_dir: /home/dynamodblocal
ports:
- "8000:8000"
logging:
driver: none
networks:
- java_develop
docker-dynamodb-admin:
build: ./dynamodb-admin
restart: always
ports:
- "8080:8001"
environment:
- "DYNAMO_ENDPOINT=http://docker-dynamodb:8000/"
- "AWS_SECRET_ACCESS_KEY=very_secret_aws_key"
- "AWS_ACCESS_KEY_ID=very_secret_aws_access_key"
- "AWS_REGION=local"
depends_on:
- docker-dynamodb
logging:
driver: none
networks:
- java_develop
docker-java-front:
build: ./front
restart: always
ports:
- "8081:8081"
depends_on:
- docker-rabbitmq
networks:
- java_develop
docker-java-backend:
build: ./backend
restart: always
ports:
- "8082:8082"
depends_on:
- docker-rabbitmq
- docker-dynamodb
- docker-dynamodb-admin
- docker-java-front
networks:
- java_develop
docker-setup-via-curl:
build: ./setup-via-curl
depends_on:
- docker-rabbitmq
- docker-dynamodb
- docker-dynamodb-admin
- docker-java-front
- docker-java-backend
logging:
driver: none
networks:
- java_develop
networks:
java_develop: