2024-08-22 14:26:42 +02:00
|
|
|
# Rx3 PHP Apache Mageia-9 Docker Image
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
name: ${IMG_ID}
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-08-22 14:26:42 +02:00
|
|
|
services:
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-08-22 14:26:42 +02:00
|
|
|
webapp:
|
|
|
|
container_name: ${IMG_ID}
|
|
|
|
image: docker.xor.rx3:5000/rx3/${IMG_ID}:${IMG_VERSION}
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-08-22 14:26:42 +02:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- IMG_ID=${IMG_ID}
|
|
|
|
- IMG_NAME=${IMG_NAME}
|
|
|
|
- IMG_VERSION=${IMG_VERSION}
|
|
|
|
- IMG_MAINTAINER=${IMG_MAINTAINER}
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-08-22 14:26:42 +02:00
|
|
|
restart: unless-stopped
|
2024-08-24 12:57:19 +02:00
|
|
|
|
|
|
|
environment:
|
2024-08-24 23:23:23 +02:00
|
|
|
APACHE_UID: ${APACHE_UID}
|
|
|
|
APACHE_GID: ${APACHE_GID}
|
|
|
|
APACHE_DOC_ROOT: ${APACHE_DOC_ROOT}
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-08-22 14:26:42 +02:00
|
|
|
network_mode: bridge
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-08-22 14:26:42 +02:00
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8080:80"
|