forked from parse-community/parse-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 23
/
docker-compose-le.yml
63 lines (60 loc) · 1.97 KB
/
docker-compose-le.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
parse-dashboard:
image: yongjhih/parse-dashboard
links:
- parse-server
environment:
SERVER_URL: $SERVER_URL
APP_ID: $APP_ID
MASTER_KEY: $MASTER_KEY
APP_NAME: $APP_NAME
ALLOW_INSECURE_HTTP: $PARSE_DASHBOARD_ALLOW_INSECURE_HTTP
USER1: $USER1
USER1_PASSWORD: $USER1_PASSWORD
PARSE_DASHBOARD_ALLOW_INSECURE_HTTP: $PARSE_DASHBOARD_ALLOW_INSECURE_HTTP
PARSE_DASHBOARD_SERVER_URL: $SERVER_URL
PARSE_DASHBOARD_MASTER_KEY: $MASTER_KEY
PARSE_DASHBOARD_APP_ID: $APP_ID
PARSE_DASHBOARD_APP_NAME: $APP_NAME
PARSE_DASHBOARD_USER_ID: $USER1
PARSE_DASHBOARD_USER_PASSWORD: $USER1_PASSWORD
PARSE_DASHBOARD_CONFIG: $PARSE_DASHBOARD_CONFIG
MOUNT_PATH: $PARSE_DASHBOARD_MOUNT_PATH
TRUST_PROXY: $PARSE_DASHBOARD_TRUST_PROXY
VIRTUAL_HOST: $VIRTUAL_HOST
LETSENCRYPT_HOST: $LETSENCRYPT_HOST
LETSENCRYPT_EMAIL: $LETSENCRYPT_EMAIL
ports:
- "4040:4040"
# volumes:
# - "parse-dashboard-config.json:/src/Parse-Dashboard/parse-dashboard-config.json"
nginx:
image: nginx
container_name: nginx
ports:
- "80:80"
- "443:443"
volumes:
- "/etc/nginx/conf.d"
- "/etc/nginx/vhost.d"
- "/usr/share/nginx/html"
- "./volumes/proxy/certs:/etc/nginx/certs:ro"
nginx-gen:
image: jwilder/docker-gen
container_name: nginx-gen
volumes:
- "/var/run/docker.sock:/tmp/docker.sock:ro"
- "./volumes/proxy/templates/nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl:ro"
volumes_from:
- nginx
entrypoint: /usr/local/bin/docker-gen -notify-sighup nginx -watch -only-exposed -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
letsencrypt-nginx-proxy-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
container_name: letsencrypt-nginx-proxy-companion
volumes_from:
- nginx
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "./volumes/proxy/certs:/etc/nginx/certs:rw"
environment:
- NGINX_DOCKER_GEN_CONTAINER=nginx-gen
# vim:set et ts=2 sw=2: