tools/compose.yaml
Arnaud G. GIBERT 245a8529a3 - Initial release,
- Use based on rx3/php-apache-mga9:1.3.2 image,
- PHPPGAdmin Installed.
2024-09-04 16:30:27 +02:00

38 lines
1.0 KiB
YAML

# Rx3 PHP Apache Mageia-9 Docker Image
#-------------------------------------------------------------------------------
name: ${IMG_NAME}
services:
webapp:
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}
- APACHE_DOC_ROOT=${APACHE_DOC_ROOT}
restart: unless-stopped
environment:
POSTGRESQL_SERVER_NAME: ${POSTGRESQL_SERVER_NAME}
POSTGRESQL_HOST: ${POSTGRESQL_HOST}
POSTGRESQL_PORT: ${POSTGRESQL_PORT}
MARIADB_SERVER_NAME: ${MARIADB_SERVER_NAME}
MARIADB_HOST: ${MARIADB_HOST}
MARIADB_PORT: ${MARIADB_PORT}
network_mode: bridge
ports:
- "127.0.0.1:9070:9001"
- "127.0.0.1:8070:80"