Arnaud G. GIBERT
62cd36b12b
- Add pwauth auth program, - Increase php params: - memory_limit from 128M to 512M, - upload_max_filesize from 16M to 32M, - post_max_size from 8M to 32M, - Don't expose unneeded /var/www/html in compose file, - Use now docker_tools for .env building.
37 lines
819 B
YAML
37 lines
819 B
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}
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
APACHE_UID: ${APACHE_UID}
|
|
APACHE_GID: ${APACHE_GID}
|
|
APACHE_DOC_ROOT: ${APACHE_DOC_ROOT}
|
|
|
|
# volumes:
|
|
# - ./var/www/html:/var/www/html
|
|
|
|
network_mode: bridge
|
|
|
|
ports:
|
|
- "127.0.0.1:${WEBAPP_SV_PORT}:9001"
|
|
- "127.0.0.1:${WEBAPP_PORT}:80"
|