31 lines
857 B
YAML
31 lines
857 B
YAML
# Rx3-Docker/Java Docker Image
|
|
#-------------------------------------------------------------------------------
|
|
|
|
name: ${IMG_NAME}
|
|
|
|
services:
|
|
|
|
server:
|
|
container_name: ${IMG_NAME}
|
|
hostname: ${IMG_NAME}
|
|
|
|
image: ${IMG_URL}
|
|
|
|
build:
|
|
context: .
|
|
args:
|
|
IMG_NAME: ${IMG_NAME}
|
|
IMG_NAME_FULL: ${IMG_NAME_FULL}
|
|
IMG_VERSION: ${IMG_VERSION}
|
|
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
|
IMG_FROM_URL: ${IMG_FROM_URL}
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
- ./var/log/init:${SERVER_LOG_INIT_DIR}
|
|
- ./var/log/supervisor:${SERVER_LOG_SV_DIR}
|
|
|
|
ports:
|
|
- "127.0.0.1:${SERVER_PORT_SV_EXT}:${SERVER_PORT_SV_INT}"
|