Arnaud G. GIBERT
28e24b2bd9
- New version naming standard, - Now use docker_tools for .env building, - Use now rx3-docker/base:1.3.0-mga9 image, - Add crond enabling via SERVER_CROND_ENABLE environement variable.
32 lines
739 B
YAML
32 lines
739 B
YAML
# Rx3-Docker/Server 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}
|
|
|
|
- SERVER_PORT_SV_INT=${SERVER_PORT_SV_INT}
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
SERVER_CROND_ENABLED: ${SERVER_CROND_ENABLED}
|
|
|
|
ports:
|
|
- "127.0.0.1:${SERVER_PORT_SV_EXT}:${SERVER_PORT_SV_INT}"
|