astroport hostname

This commit is contained in:
Yann Autissier 2022-12-15 16:24:25 +00:00
parent d9f3b1e4e9
commit 8eda0e1274
3 changed files with 7 additions and 8 deletions

View File

@ -12,7 +12,7 @@ SHELL_FILES ?= $(wildcard .*/*.sh */*.sh */*/*.sh)
all: install tests
.PHONY: install
install: myos build up player
install: myos build player up
echo "Welcome to myos docker land - make a user - make a player -"
.PHONY: migrate

View File

@ -1,10 +1,10 @@
COMPOSE_FILE_VDI := true
COMPOSE_IGNORE_ORPHANS := true
DOCKER_IMAGES_MYOS := x2go:xfce-debian
ENV_VARS += HOST_ASTROPORT_SERVICE_1234_TAGS
HOST_ASTROPORT_SERVICE_URIS ?= $(patsubst %,astroport.%,$(APP_URIS))
HOST_ASTROPORT_SERVICE_1234_TAGS ?= $(call urlprefix,,$(HOST_ASTROPORT_SERVICE_1234_URIS))
HOST_ASTROPORT_SERVICE_1234_URIS ?= $(HOST_ASTROPORT_SERVICE_URIS)
ENV_VARS += HOST_ASTROPORT_SERVICE_DOMAIN HOST_ASTROPORT_SERVICE_NAME HOST_ASTROPORT_SERVICE_1234_TAGS
HOST_ASTROPORT_SERVICE_DOMAIN ?= $(firstword $(DOMAIN))
HOST_ASTROPORT_SERVICE_NAME ?= astroport
HOST_ASTROPORT_SERVICE_1234_TAGS ?= $(call tagprefix,HOST_ASTROPORT,1234)
HOST_ASTROPORT_UFW_UPDATE := 1234/tcp 12245:12445/tcp 45720/tcp
MAKE_VARS += SSH_PORT User host
SERVICE := astroport

View File

@ -8,9 +8,8 @@ services:
- GID=${HOST_GID}
- UID=${HOST_UID}
container_name: ${COMPOSE_PROJECT_NAME}-astroport
environment:
- ENV=${ENV}
- SHELL=${DOCKER_SHELL}
domainname: ${HOST_ASTROPORT_SERVICE_DOMAIN:-localhost}
hostname: ${HOST_ASTROPORT_SERVICE_NAME:-astroport}
image: ${DOCKER_REPOSITORY}/astroport:${DOCKER_IMAGE_TAG}
labels:
- SERVICE_1234_CHECK_HTTP=/test