forked from ArfanMirza/drawio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (45 loc) · 1.09 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
40
41
42
43
44
45
46
47
#This compose file adds draw.io to your stack
version: '3.5'
services:
drawio:
image: jituhooda/drawio:latest
container_name: drawio
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
# environment:
# # DRAWIO_SERVER_URL: /test/
# PUBLIC_DNS: domain
# ORGANISATION_UNIT: unit
# ORGANISATION: org
# CITY: city
# STATE: state
# COUNTRY_CODE: country
# healthcheck:
# test: ["CMD-SHELL", "curl -f http://domain:8080 || exit 1"]
# interval: 1m30s
# timeout: 10s
# retries: 5
# start_period: 10s
networks:
- app-network
nginx:
image: jituhooda/nginx:latest
build:
context: ./nginx
dockerfile: Dockerfile
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/nginx.conf
- ./nginx/ssl_certificates/bundle.crt:/etc/ssl/bundle.crt
- ./nginx/ssl_certificates/certname.key:/etc/ssl/certname.key
ports:
- 80:80
- 443:443
depends_on:
- drawio
networks:
- app-network
networks:
app-network:
driver: bridge