Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nginx proxy #638

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ post_restore.sh

.vscode
*.code-workspace

.idea
4 changes: 3 additions & 1 deletion .templates/adminer/service.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ adminer:
restart: unless-stopped
ports:
- "9080:8080"

environment:
- VIRTUAL_HOST=~^adminer\..*\.xip\.io
- VIRTUAL_PORT=9080
3 changes: 3 additions & 0 deletions .templates/blynk_server/service.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ blynk_server:
volumes:
- ./volumes/blynk_server/data:/data
- ./volumes/blynk_server/config:/config
environment:
- VIRTUAL_HOST=~^blynk\..*\.xip\.io
- VIRTUAL_PORT=8180

4 changes: 3 additions & 1 deletion .templates/diyhue/service.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ diyhue:
volumes:
- ./volumes/diyhue:/opt/hue-emulator/export
restart: unless-stopped

environment:
- VIRTUAL_HOST=~^diyhue\..*\.xip\.io
- VIRTUAL_PORT=8070
4 changes: 3 additions & 1 deletion .templates/grafana/service.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ grafana:
timeout: 10s
retries: 3
start_period: 30s

environment:
- VIRTUAL_HOST=~^grafana\..*\.xip\.io
- VIRTUAL_PORT=3000
8 changes: 4 additions & 4 deletions .templates/home_assistant/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ home_assistant:
- /etc/localtime:/etc/localtime:ro
- ./volumes/home_assistant:/config
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
devices:
- "/dev/ttyAMA0:/dev/ttyAMA0"
- "/dev/vcio:/dev/vcio"
- "/dev/gpiomem:/dev/gpiomem"
# devices:
# - "/dev/ttyAMA0:/dev/ttyAMA0"
# - "/dev/vcio:/dev/vcio"
# - "/dev/gpiomem:/dev/gpiomem"
privileged: true
4 changes: 3 additions & 1 deletion .templates/homebridge/service.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ homebridge:
volumes:
- ./volumes/homebridge:/homebridge
network_mode: host

environment:
- VIRTUAL_HOST=~^homebridge\..*\.xip\.io
- VIRTUAL_PORT=8380
19 changes: 19 additions & 0 deletions .templates/influxdb/service.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< HEAD
influxdb:
container_name: influxdb
image: "influxdb:1.8"
Expand Down Expand Up @@ -25,3 +26,21 @@ influxdb:
retries: 3
start_period: 30s

=======
influxdb:
container_name: influxdb
image: "influxdb:latest"
restart: unless-stopped
ports:
- 8086:8086
- 8083:8083
- 2003:2003
env_file:
- ./services/influxdb/influxdb.env
environment:
- VIRTUAL_HOST=~^influxdb\..*\.xip\.io
- VIRTUAL_PORT=8086
volumes:
- ./volumes/influxdb/data:/var/lib/influxdb
- ./backups/influxdb/db:/var/lib/influxdb/backup
>>>>>>> other-IOTstack/feature/AddNginxProxy
3 changes: 3 additions & 0 deletions .templates/nextcloud/service.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ nextcloud:
networks:
- default
- nextcloud
environment:
- VIRTUAL_HOST=~^nextcloud\..*\.xip\.io
- VIRTUAL_PORT=9321

nextcloud_db:
container_name: nextcloud_db
Expand Down
Loading