mirror of
https://github.com/thatmattlove/hyperglass.git
synced 2026-05-07 12:43:05 +00:00
Update compose.yaml
This commit is contained in:
parent
bee642697e
commit
b405fd7db6
1 changed files with 14 additions and 1 deletions
15
compose.yaml
15
compose.yaml
|
|
@ -1,9 +1,22 @@
|
|||
networks:
|
||||
Rede-LG-Hyperglass:
|
||||
name: Rede-LG-Hyperglass # Força o nome exato da rede
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
# Configuração IPv4
|
||||
- subnet: "172.29.1.24/29"
|
||||
gateway: "172.29.1.25"
|
||||
services:
|
||||
redis:
|
||||
image: "redis:alpine"
|
||||
networks:
|
||||
Rede-LG-Hyperglass:
|
||||
hyperglass:
|
||||
depends_on:
|
||||
- redis
|
||||
networks:
|
||||
Rede-LG-Hyperglass:
|
||||
environment:
|
||||
- HYPERGLASS_APP_PATH=/etc/hyperglass
|
||||
- HYPERGLASS_HOST=${HYPERGLASS_HOST-0.0.0.0}
|
||||
|
|
@ -16,6 +29,6 @@ services:
|
|||
- HYPERGLASS_ORIGINAL_APP_PATH=${HYPERGLASS_APP_PATH}
|
||||
build: .
|
||||
ports:
|
||||
- "${HYPERGLASS_PORT-8001}:${HYPERGLASS_PORT-8001}"
|
||||
- "${IP-ESPECIFICO-MAQUINA-HOST}:${HYPERGLASS_PORT-8001}:${HYPERGLASS_PORT-8001}"
|
||||
volumes:
|
||||
- ${HYPERGLASS_APP_PATH-/etc/hyperglass}:/etc/hyperglass
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue