-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
84 lines (76 loc) · 1.88 KB
/
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
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
version: "3.7"
x-base: &base
environment:
- ENV=development
- TZ=Europe/Athens
networks:
- acarsserver_net
volumes:
- ./:/acars-server
services:
client:
<<: *base
build:
context: ./
dockerfile: docker/client/Dockerfile
args:
- ENV=development
hostname: client
devices:
- "/dev/bus/usb:/dev/bus/usb"
image_downloader:
<<: *base
build:
context: ./
dockerfile: docker/image_downloader/Dockerfile
args:
- ENV=development
depends_on: [rabbitmq]
hostname: image-downloader
listener:
<<: *base
build:
context: ./
dockerfile: docker/listener/Dockerfile
args:
- ENV=development
depends_on: [rabbitmq]
hostname: listener
ports:
- target: 5555
published: 5555
protocol: udp
web:
<<: *base
build:
context: ./
dockerfile: docker/web/Dockerfile
args:
- ENV=development
hostname: web
ports:
- "8080:8080"
rabbitmq:
image: rabbitmq:3
hostname: rabbitmq
environment:
- RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbit log_levels [{connection,error}]
networks:
- acarsserver_net
test:
<<: *base
environment:
- ENV=test
- TZ=Europe/Athens
build:
context: ./
dockerfile: docker/test/Dockerfile
args:
- HOST_USER_NAME=mylk
- HOST_USER_ID=1000
- HOST_GROUP_ID=1000
depends_on: [rabbitmq]
hostname: test
networks:
acarsserver_net:
driver: "bridge"