-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (36 loc) · 947 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
version: "0.0"
networks:
ijam-default:
driver: host
services:
ijam-cc:
image: ijam-cc
container_name: "ijam-cc"
env_file:
- ".env"
environment:
REDISCLI_AUTH: '${REDIS_MASTERPWD}'
volumes:
- ./start.sh:${JAMOTA_ROOT}/start.sh
- ./ota-portal:${JAMOTA_ROOT}/ota-portal
- ./redis:${JAMOTA_ROOT}/redis
- ./tools:${JAMOTA_ROOT}/tools
ports:
- ${REDIS_PORT}:${REDIS_PORT}
- ${PORTAL_PORT}:${PORTAL_PORT}
- ${CERT_SERVER_PORT}:${CERT_SERVER_PORT}
- ${REG_SERVER_PORT}:${REG_SERVER_PORT}
- ${STATE_SERVER_PORT}:${STATE_SERVER_PORT}
expose:
- ${PORTAL_PORT}
- ${CERT_SERVER_PORT}
- ${REG_SERVER_PORT}
- ${STATE_SERVER_PORT}
build:
context: ./
dockerfile: Dockerfile
entrypoint: ["${JAMOTA_ROOT}/start.sh", "-c"]
networks:
- ijam-default
extra_hosts:
- "host.docker.internal:host-gateway"