2024-08-22 14:26:42 +02:00
|
|
|
# Rx3 PHP Apache Mageia-9 Docker Image
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-08-27 00:39:57 +02:00
|
|
|
name: ${IMG_NAME}
|
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:
|
2024-08-27 00:39:57 +02:00
|
|
|
container_name: ${IMG_NAME}
|
2024-08-26 22:02:50 +02:00
|
|
|
|
|
|
|
image: ${IMG_URL}
|
2024-08-24 12:57:19 +02:00
|
|
|
|
2024-08-22 14:26:42 +02:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- IMG_NAME=${IMG_NAME}
|
2024-08-27 00:39:57 +02:00
|
|
|
- IMG_FULL_NAME=${IMG_FULL_NAME}
|
2024-08-22 14:26:42 +02:00
|
|
|
- IMG_VERSION=${IMG_VERSION}
|
|
|
|
- IMG_MAINTAINER=${IMG_MAINTAINER}
|
2024-08-26 22:02:50 +02:00
|
|
|
- IMG_URL_PREFIX=${IMG_URL_PREFIX}
|
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-10-04 17:43:55 +02:00
|
|
|
# volumes:
|
|
|
|
# - ./var/www/html:/var/www/html
|
|
|
|
|
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:
|
2024-08-27 00:39:57 +02:00
|
|
|
- "127.0.0.1:9011:9001"
|
2024-08-22 14:26:42 +02:00
|
|
|
- "127.0.0.1:8080:80"
|