-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
40 lines (37 loc) · 1.08 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
version: '3.7'
services:
lmgrd:
build:
context: .
dockerfile: Dockerfile.flexlm
image: flexlm:latest
command: ["/home/flexlm/arcgis/licensemanager/bin/lmgrd", "-z", "-c", "/home/flexlm/config/service.txt"]
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./config:/home/flexlm/config:rw
- ./licenses:/usr/local/flexlm/licenses:rw
ports:
- 27000:27000
- 27001:27001
# PUT YOUR HOSTNAME HERE AND EDIT config/service.txt TO MATCH
hostname: cc-testmaps
monitor:
build:
context: .
dockerfile: Dockerfile.monitor
image: flexlm_monitor:latest
environment:
LICENSE: /home/flexlm/config/service.txt
FLASK_APP: webapp/start_app
FLASK_ENV: production
FLASK_RUN_HOST: 0.0.0.0
FLASK_RUN_PORT: 5000
command: ["/home/flexlm/miniconda3/bin/flask", "run"]
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- .:/home/flexlm/webapp:ro
- ./config:/home/flexlm/config:ro
ports:
- 5000:5000