2024-11-10 23:29:56 +01:00
|
|
|
# Rx3-Docker/Server Docker Image
|
2024-08-25 18:17:03 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-11-11 22:56:40 +01:00
|
|
|
name: ${IMG_NAME}
|
2024-08-25 18:17:03 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
server:
|
2024-11-11 22:56:40 +01:00
|
|
|
container_name: ${IMG_NAME}
|
|
|
|
hostname: ${IMG_NAME}
|
2024-08-25 18:17:03 +02:00
|
|
|
|
2024-11-11 22:56:40 +01:00
|
|
|
image: ${IMG_URL}
|
2024-08-25 18:17:03 +02:00
|
|
|
|
|
|
|
build:
|
2024-11-11 22:56:40 +01:00
|
|
|
context: .
|
2024-08-25 18:17:03 +02:00
|
|
|
args:
|
2024-11-11 22:56:40 +01:00
|
|
|
IMG_NAME: ${IMG_NAME}
|
|
|
|
IMG_NAME_FULL: ${IMG_NAME_FULL}
|
|
|
|
IMG_VERSION: ${IMG_VERSION}
|
|
|
|
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
|
|
|
IMG_FROM_URL: ${IMG_FROM_URL}
|
2024-11-10 23:29:56 +01:00
|
|
|
|
2024-11-11 22:56:40 +01:00
|
|
|
SERVER_LOG_INIT_DIR: ${SERVER_LOG_INIT_DIR}
|
|
|
|
SERVER_LOG_SV_DIR: ${SERVER_LOG_SV_DIR}
|
|
|
|
SERVER_PORT_SV_INT: ${SERVER_PORT_SV_INT}
|
2024-08-25 18:17:03 +02:00
|
|
|
|
2024-11-11 22:56:40 +01:00
|
|
|
restart: unless-stopped
|
2024-08-26 21:21:07 +02:00
|
|
|
|
2024-11-10 23:29:56 +01:00
|
|
|
environment:
|
2024-11-11 22:56:40 +01:00
|
|
|
SERVER_CROND_ENABLED: ${SERVER_CROND_ENABLED}
|
2024-11-10 23:29:56 +01:00
|
|
|
|
2024-11-11 22:56:40 +01:00
|
|
|
volumes:
|
|
|
|
- ./var/log/init:${SERVER_LOG_INIT_DIR}
|
|
|
|
- ./var/log/supervisor:${SERVER_LOG_SV_DIR}
|
|
|
|
|
2024-08-26 21:21:07 +02:00
|
|
|
ports:
|
2024-11-10 23:29:56 +01:00
|
|
|
- "127.0.0.1:${SERVER_PORT_SV_EXT}:${SERVER_PORT_SV_INT}"
|