2024-11-11 09:22:12 +01:00
|
|
|
# Rx3-Docker/Java Docker Image
|
2024-08-28 22:44:12 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-11-11 09:22:12 +01:00
|
|
|
name: ${IMG_NAME}
|
2024-08-28 22:44:12 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
server:
|
2024-11-11 09:22:12 +01:00
|
|
|
container_name: ${IMG_NAME}
|
|
|
|
hostname: ${IMG_NAME}
|
2024-08-28 22:44:12 +02:00
|
|
|
|
2024-11-11 09:22:12 +01:00
|
|
|
image: ${IMG_URL}
|
2024-08-28 22:44:12 +02:00
|
|
|
|
|
|
|
build:
|
2024-11-11 09:22:12 +01:00
|
|
|
context: .
|
2024-08-28 22:44:12 +02:00
|
|
|
args:
|
2024-11-11 09:22:12 +01:00
|
|
|
IMG_NAME: ${IMG_NAME}
|
2024-11-11 23:11:13 +01:00
|
|
|
IMG_NAME_FULL: ${IMG_NAME_FULL}
|
2024-11-11 09:22:12 +01:00
|
|
|
IMG_VERSION: ${IMG_VERSION}
|
|
|
|
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
|
|
|
IMG_FROM_URL: ${IMG_FROM_URL}
|
2024-08-28 22:44:12 +02:00
|
|
|
|
2024-11-11 09:22:12 +01:00
|
|
|
restart: unless-stopped
|
2024-08-28 22:44:12 +02:00
|
|
|
|
2024-11-11 23:11:13 +01:00
|
|
|
volumes:
|
|
|
|
- ./var/log/init:${SERVER_LOG_INIT_DIR}
|
|
|
|
- ./var/log/supervisor:${SERVER_LOG_SV_DIR}
|
|
|
|
|
2024-08-28 22:44:12 +02:00
|
|
|
ports:
|
2024-11-11 09:22:12 +01:00
|
|
|
- "127.0.0.1:${SERVER_PORT_SV_EXT}:${SERVER_PORT_SV_INT}"
|