-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcompose.yaml
More file actions
25 lines (24 loc) · 808 Bytes
/
compose.yaml
File metadata and controls
25 lines (24 loc) · 808 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
services:
nginx-local-ip:
container_name: nginx-local-ip
image: medicmobile/nginx-local-ip
build: .
ports:
- "${HTTP}:80"
- "${HTTPS}:443"
volumes:
- ./default.conf.template:/etc/nginx/templates/default.conf.template
environment:
APP_URL: $APP_URL
HTTP: $HTTP
HTTPS: $HTTPS
CERT_PEM_SRC: ${CERT_PEM_SRC:-https://local-ip.medicmobile.org/cert}
CERT_CHAIN_SRC: ${CERT_CHAIN_SRC:-https://local-ip.medicmobile.org/chain}
CERT_KEY_SRC: ${CERT_KEY_SRC:-https://local-ip.medicmobile.org/key}
DOMAIN: ${DOMAIN:-local-ip.medicmobile.org}
networks:
default:
ipam:
config:
# Useful for ensuring the assigned network address is within the range configured for your firewall rules
- subnet: 172.16.0.0/16