forked from michaelg29/JAMScript-OTA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 888 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 888 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
version: "0.0"
networks:
ijam_default:
driver: bridge
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