- Add PHP PDO PostgreSQL & MySQL modules,

- Add and use APACHE_UID & APACHE_GID environement variable.
This commit is contained in:
2024-08-24 12:57:19 +02:00
parent 535dc239a7
commit f82f70e46f
5 changed files with 31 additions and 5 deletions

View File

@@ -2,10 +2,13 @@
#-------------------------------------------------------------------------------
name: ${IMG_ID}
services:
webapp:
container_name: ${IMG_ID}
image: docker.xor.rx3:5000/rx3/${IMG_ID}:${IMG_VERSION}
build:
context: .
args:
@@ -13,7 +16,14 @@ services:
- IMG_NAME=${IMG_NAME}
- IMG_VERSION=${IMG_VERSION}
- IMG_MAINTAINER=${IMG_MAINTAINER}
restart: unless-stopped
environment:
APACHE_UID: ${APACHE_UID}
APACHE_GID: ${APACHE_GID}
network_mode: bridge
ports:
- "127.0.0.1:8080:80"