port mapping
This commit is contained in:
parent
174f620460
commit
dd2046f587
|
@ -2,16 +2,7 @@ version: '3.6'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
astroport:
|
astroport:
|
||||||
build:
|
|
||||||
args:
|
|
||||||
- DOCKER_REPOSITORY=${DOCKER_REPOSITORY}
|
|
||||||
- GID=${HOST_GID}
|
|
||||||
- UID=${HOST_UID}
|
|
||||||
container_name: ${COMPOSE_PROJECT_NAME}-astroport
|
|
||||||
domainname: ${DOMAINNAME:-localhost}
|
|
||||||
hostname: ${HOSTNAME:-astroport}
|
|
||||||
image: ${DOCKER_REPOSITORY}/astroport:${DOCKER_IMAGE_TAG}
|
|
||||||
labels:
|
labels:
|
||||||
- SERVICE_1234_CHECK_HTTP=/test
|
- SERVICE_1234_CHECK_HTTP=/
|
||||||
- SERVICE_1234_NAME=${COMPOSE_SERVICE_NAME}-astroport-1234
|
- SERVICE_1234_NAME=${COMPOSE_SERVICE_NAME:-localhost}-astroport-1234
|
||||||
- SERVICE_1234_TAGS=${HOST_ASTROPORT_SERVICE_1234_TAGS:-}
|
- SERVICE_1234_TAGS=${HOST_ASTROPORT_SERVICE_1234_TAGS:-urlprefix-astroport.localhost/}
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
version: '3.6'
|
||||||
|
|
||||||
|
services:
|
||||||
|
astroport:
|
||||||
|
ports:
|
||||||
|
- 1234:1234
|
||||||
|
- 12345:12345
|
|
@ -3,6 +3,8 @@ version: '3.8'
|
||||||
services:
|
services:
|
||||||
astroport:
|
astroport:
|
||||||
build:
|
build:
|
||||||
|
args:
|
||||||
|
- DOCKER_REPOSITORY=${DOCKER_REPOSITORY}
|
||||||
dockerfile: docker/astroport/Dockerfile.vdi
|
dockerfile: docker/astroport/Dockerfile.vdi
|
||||||
cap_add:
|
cap_add:
|
||||||
- IPC_LOCK # ecryptfs
|
- IPC_LOCK # ecryptfs
|
||||||
|
|
|
@ -5,9 +5,15 @@ services:
|
||||||
build:
|
build:
|
||||||
args:
|
args:
|
||||||
- DOCKER_BUILD_DIR=docker/astroport
|
- DOCKER_BUILD_DIR=docker/astroport
|
||||||
|
- GID=${HOST_GID:-123}
|
||||||
- IPFS_VERSION=${IPFS_VERSION:-0.24.0}
|
- IPFS_VERSION=${IPFS_VERSION:-0.24.0}
|
||||||
|
- UID=${HOST_UID:-123}
|
||||||
context: ../
|
context: ../
|
||||||
dockerfile: docker/astroport/Dockerfile
|
dockerfile: docker/astroport/Dockerfile
|
||||||
|
container_name: ${COMPOSE_PROJECT_NAME:-localhost}-astroport
|
||||||
|
domainname: ${DOMAINNAME:-localhost}
|
||||||
|
hostname: ${HOSTNAME:-astroport}
|
||||||
|
image: ${DOCKER_REPOSITORY:-localhost}/astroport:${DOCKER_IMAGE_TAG:-latest}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 1234
|
- 1234
|
||||||
|
|
Loading…
Reference in New Issue