php-apache/compose.yaml
Arnaud G. GIBERT 1d1674ebac - Add and use APACHE_DOC_ROOT environment variable,
- Move apache_init script to /usr/local/sbin,
- Use base-mga9:1.2.1.
2024-08-24 23:23:23 +02:00

31 lines
679 B
YAML

# Rx3 PHP Apache Mageia-9 Docker Image
#-------------------------------------------------------------------------------
name: ${IMG_ID}
services:
webapp:
container_name: ${IMG_ID}
image: docker.xor.rx3:5000/rx3/${IMG_ID}:${IMG_VERSION}
build:
context: .
args:
- IMG_ID=${IMG_ID}
- IMG_NAME=${IMG_NAME}
- IMG_VERSION=${IMG_VERSION}
- IMG_MAINTAINER=${IMG_MAINTAINER}
restart: unless-stopped
environment:
APACHE_UID: ${APACHE_UID}
APACHE_GID: ${APACHE_GID}
APACHE_DOC_ROOT: ${APACHE_DOC_ROOT}
network_mode: bridge
ports:
- "127.0.0.1:8080:80"