Arnaud G. GIBERT
45834cda81
- Variabilization of external server ports in env & compose file, - Now use docker_tools for .env building.
29 lines
598 B
YAML
29 lines
598 B
YAML
# Rx3 PHP Apache Mageia-9 Docker Image
|
|
#-------------------------------------------------------------------------------
|
|
|
|
name: ${IMG_NAME}
|
|
|
|
services:
|
|
|
|
server:
|
|
container_name: ${IMG_NAME}
|
|
|
|
image: ${IMG_URL}
|
|
|
|
build:
|
|
context: .
|
|
args:
|
|
IMG_NAME: "${IMG_NAME}"
|
|
IMG_FULL_NAME: "${IMG_FULL_NAME}"
|
|
IMG_VERSION: "${IMG_VERSION}"
|
|
IMG_MAINTAINER: "${IMG_MAINTAINER}"
|
|
IMG_URL_PREFIX: "${IMG_URL_PREFIX}"
|
|
|
|
restart: unless-stopped
|
|
|
|
network_mode: bridge
|
|
|
|
ports:
|
|
- "127.0.0.1:${SERVER_SV_PORT}:9001"
|
|
|