mirror of
https://github.com/mainflux/mainflux.git
synced 2025-04-27 13:48:49 +08:00
33 lines
824 B
YAML
33 lines
824 B
YAML
###
|
|
# Copyright (c) 2015-2017 Mainflux
|
|
#
|
|
# Mainflux server is licensed under an Apache license, version 2.0 license.
|
|
# All rights not explicitly granted in the Apache license, version 2.0 are reserved.
|
|
# See the included LICENSE file for more details.
|
|
###
|
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
###
|
|
# NGINX
|
|
###
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: mainflux-nginx
|
|
volumes:
|
|
- $PWD/nginx.conf:/etc/nginx/nginx.conf
|
|
- $PWD/ssl/certs/mainflux-server.crt:/etc/ssl/certs/mainflux-server.crt
|
|
- $PWD/ssl/certs/mainflux-server.key:/etc/ssl/private/mainflux-server.key
|
|
- $PWD/ssl/dhparam.pem:/etc/ssl/certs/dhparam.pem
|
|
network_mode: bridge
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
- "8883:8883"
|
|
external_links:
|
|
- mainflux-manager
|
|
- mainflux-http
|
|
- mainflux-mqtt
|