forked from STI/Astroport.ONE
astroport hostname
This commit is contained in:
parent
d9f3b1e4e9
commit
8eda0e1274
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ SHELL_FILES ?= $(wildcard .*/*.sh */*.sh */*/*.sh)
|
||||||
all: install tests
|
all: install tests
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: myos build up player
|
install: myos build player up
|
||||||
echo "Welcome to myos docker land - make a user - make a player -"
|
echo "Welcome to myos docker land - make a user - make a player -"
|
||||||
|
|
||||||
.PHONY: migrate
|
.PHONY: migrate
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
COMPOSE_FILE_VDI := true
|
COMPOSE_FILE_VDI := true
|
||||||
COMPOSE_IGNORE_ORPHANS := true
|
COMPOSE_IGNORE_ORPHANS := true
|
||||||
DOCKER_IMAGES_MYOS := x2go:xfce-debian
|
DOCKER_IMAGES_MYOS := x2go:xfce-debian
|
||||||
ENV_VARS += HOST_ASTROPORT_SERVICE_1234_TAGS
|
ENV_VARS += HOST_ASTROPORT_SERVICE_DOMAIN HOST_ASTROPORT_SERVICE_NAME HOST_ASTROPORT_SERVICE_1234_TAGS
|
||||||
HOST_ASTROPORT_SERVICE_URIS ?= $(patsubst %,astroport.%,$(APP_URIS))
|
HOST_ASTROPORT_SERVICE_DOMAIN ?= $(firstword $(DOMAIN))
|
||||||
HOST_ASTROPORT_SERVICE_1234_TAGS ?= $(call urlprefix,,$(HOST_ASTROPORT_SERVICE_1234_URIS))
|
HOST_ASTROPORT_SERVICE_NAME ?= astroport
|
||||||
HOST_ASTROPORT_SERVICE_1234_URIS ?= $(HOST_ASTROPORT_SERVICE_URIS)
|
HOST_ASTROPORT_SERVICE_1234_TAGS ?= $(call tagprefix,HOST_ASTROPORT,1234)
|
||||||
HOST_ASTROPORT_UFW_UPDATE := 1234/tcp 12245:12445/tcp 45720/tcp
|
HOST_ASTROPORT_UFW_UPDATE := 1234/tcp 12245:12445/tcp 45720/tcp
|
||||||
MAKE_VARS += SSH_PORT User host
|
MAKE_VARS += SSH_PORT User host
|
||||||
SERVICE := astroport
|
SERVICE := astroport
|
||||||
|
|
|
@ -8,9 +8,8 @@ services:
|
||||||
- GID=${HOST_GID}
|
- GID=${HOST_GID}
|
||||||
- UID=${HOST_UID}
|
- UID=${HOST_UID}
|
||||||
container_name: ${COMPOSE_PROJECT_NAME}-astroport
|
container_name: ${COMPOSE_PROJECT_NAME}-astroport
|
||||||
environment:
|
domainname: ${HOST_ASTROPORT_SERVICE_DOMAIN:-localhost}
|
||||||
- ENV=${ENV}
|
hostname: ${HOST_ASTROPORT_SERVICE_NAME:-astroport}
|
||||||
- SHELL=${DOCKER_SHELL}
|
|
||||||
image: ${DOCKER_REPOSITORY}/astroport:${DOCKER_IMAGE_TAG}
|
image: ${DOCKER_REPOSITORY}/astroport:${DOCKER_IMAGE_TAG}
|
||||||
labels:
|
labels:
|
||||||
- SERVICE_1234_CHECK_HTTP=/test
|
- SERVICE_1234_CHECK_HTTP=/test
|
||||||
|
|
Loading…
Reference in New Issue