-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
executable file
·50 lines (46 loc) · 973 Bytes
/
compose.yml
File metadata and controls
executable file
·50 lines (46 loc) · 973 Bytes
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
version: '3'
services:
app:
container_name: go-driver-api
build:
context: ./
dockerfile: .setup/build/dev/Dockerfile
ports:
- "9000:9000"
networks:
- go-driver-api
volumes:
- .:/app
mysql:
image: mysql:5.7
container_name: mysql
restart: always
platform: linux/amd64
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: go-driver
MYSQL_PASSWORD: root
TZ: "America/Sao_Paulo"
volumes:
- .docker/mysql:/var/lib/mysql
ports:
- 3306:3306
networks:
- go-driver-api
rabbitmq:
image: rabbitmq:3.8.16-management
container_name: rabbitmq
hostname: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
- "15692:15692"
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
- RABBITMQ_DEFAULT_VHOST=/
networks:
- go-driver-api
networks:
go-driver-api:
driver: bridge