-
Notifications
You must be signed in to change notification settings - Fork 0
/
e2e-testing.docker-compose.yml
98 lines (95 loc) · 2.67 KB
/
e2e-testing.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Copyright 2021 Roman Ondráček <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
version: "3.3"
services:
webapp-frontend:
image: iqrftech/iqrf-gateway-webapp-frontend:latest
#build:
# context: .
# dockerfile: docker/frontend/Dockerfile
container_name: iqrf-gateway-webapp-frontend
tty: true
depends_on:
- daemon
- webapp-backend
networks:
iqrf-gateway-webapp-e2e:
ipv4_address: 172.16.10.2
expose:
- 80
- 443
ports:
- "80:80"
- "443:443"
volumes:
- daemon-config:/etc/iqrf-gateway-daemon
webapp-backend:
image: iqrftech/iqrf-gateway-webapp-backend:latest-amd64
container_name: iqrf-gateway-webapp-backend
depends_on:
- daemon
#build:
# context: .
# dockerfile: docker/backend/Dockerfile
environment:
- IQRFGD_WS_SERVER=ws://daemon:1338
expose:
- 9000
networks:
iqrf-gateway-webapp-e2e:
ipv4_address: 172.16.10.3
volumes:
- daemon-config:/etc/iqrf-gateway-daemon
- daemon-log:/var/log/iqrf-gateway-daemon
- webapp-config:/var/www/app/config
daemon:
image: iqrftech/iqrf-gateway-daemon:latest
container_name: iqrf-gateway-daemon
depends_on:
- tr-emulator
expose:
- 1338
- 1438
ports:
- "55000:55000/udp"
- "55300:55300/udp"
networks:
iqrf-gateway-webapp-e2e:
ipv4_address: 172.16.10.4
volumes:
- daemon-config:/etc/iqrf-gateway-daemon
- ./docker/e2e/daemon/config.json:/etc/iqrf-gateway-daemon/config.json
- ./docker/e2e/daemon/iqrf__IqrfTcp.json:/etc/iqrf-gateway-daemon/iqrf__IqrfTcp.json
- daemon-log:/var/log/iqrf-gateway-daemon
- daemon-scheduler:/var/cache/iqrf-gateway-daemon/scheduler/
tr-emulator:
image: iqrftech/iqrf-tr-emulator:latest
container_name: iqrf-tr-emulator
expose:
- 10000
networks:
iqrf-gateway-webapp-e2e:
ipv4_address: 172.16.10.5
networks:
iqrf-gateway-webapp-e2e:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.10.0/24
volumes:
daemon-config:
daemon-log:
daemon-scheduler:
webapp-config: