# 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"