mirror of
https://github.com/M0r13n/mikrotik_monitoring.git
synced 2025-12-31 06:19:33 +00:00
adds option to add https
This commit is contained in:
parent
9a9e21451b
commit
6a1e1432b2
5 changed files with 71 additions and 4 deletions
|
|
@ -38,9 +38,6 @@ services:
|
|||
- GF_USERS_ALLOW_SIGN_UP=false
|
||||
- GF_INSTALL_PLUGINS=flant-statusmap-panel
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 80:3000
|
||||
networks:
|
||||
- default
|
||||
labels:
|
||||
|
|
@ -55,4 +52,20 @@ services:
|
|||
networks:
|
||||
- default
|
||||
restart: unless-stopped
|
||||
|
||||
nginx:
|
||||
image: nginx:latest
|
||||
container_name: nginx
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
# Uncomment the four lines below to enable HTTPS
|
||||
# - ./nginx/nginx.conf.https:/etc/nginx/conf.d/default.conf
|
||||
# - ./nginx/nginx-selfsigned.key:/etc/nginx/ssl/nginx-selfsigned.key
|
||||
# - ./nginx/nginx-selfsigned.crt:/etc/nginx/ssl/nginx-selfsigned.crt
|
||||
# - ./nginx/self-signed.conf:/etc/nginx/ssl/self-signed.conf
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
networks:
|
||||
- default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue