-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (46 loc) · 1019 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
39
40
41
42
43
44
45
46
47
48
49
50
version: "3"
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.20.12.0/24
services:
proxy:
image: nginx:1.27
restart: always
volumes:
- ./nginx/certs:/etc/nginx/certs
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
logging:
options:
max-size: "100m"
max-file: "3"
ports:
- 80:80
- 443:443
links:
- server
- client
client:
image: ghcr.io/illgrenoble/webx-demo-client:${WEBX_VERSION:-1.1.0}
platform: linux/amd64
restart: always
extra_hosts:
- host.docker.internal:host-gateway
logging:
options:
max-size: "100m"
max-file: "3"
server:
image: ghcr.io/illgrenoble/webx-demo-server:${WEBX_VERSION:-1.0.0}
platform: linux/amd64
restart: always
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
logging:
options:
max-size: "100m"
max-file: "3"