add java-gateway

This commit is contained in:
chenc 2023-11-30 14:40:01 +08:00
parent 068cf5bf25
commit ed02ebe01f
3 changed files with 13 additions and 0 deletions

1
.alias
View File

@ -10,3 +10,4 @@ alias aix-nginx-base='docker-compose -f $AIX_DOCKER_COMPOSER_FILE exec openresty
alias aix-elastic-base='docker-compose -f $AIX_DOCKER_COMPOSER_FILE exec elasticsearch /bin/sh'
alias aix-php81-supervisor='docker-compose -f $AIX_DOCKER_COMPOSER_FILE exec php81 supervisorctl'
alias aix-php73-supervisor='docker-compose -f $AIX_DOCKER_COMPOSER_FILE exec php81 supervisorctl'
alias aix-gateway-restart='docker-compose -f $AIX_DOCKER_COMPOSER_FILE restart java_gateway'

View File

@ -27,6 +27,18 @@ services:
networks:
aix-docker-cc:
ipv4_address: ${NET_SUBNET:-10.12.25}.200
java_gateway:
image: ${IMAGE_BASE}/java_gateway:1.0.0
container_name: java_gateway
restart: always
volumes:
- "./java_gateway:/app"
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
aix-docker-cc:
ipv4_address: ${NET_SUBNET:-10.12.25}.201
elasticsearch:
image: ${IMAGE_BASE}/elasticsearch:${ELK_VERSION:-7.17.7}

Binary file not shown.