Skip to content

Commit a9429a5

Browse files
committed
example dhi
example config with DHI for WSC
1 parent badd757 commit a9429a5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

examples/fpm-nginx-dhi/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# General
22
DOMAIN=example.com
3+
PHP_VERSION=8.4
34
# Database (MySQL/MariaDB)
45
MYSQL_ROOT_PASSWORD=my-secret-pw
56
MYSQL_DATABASE=woltlab_suite

examples/fpm-nginx-dhi/config/php_wsc.ini

Whitespace-only changes.

examples/fpm-nginx-dhi/docker-compose.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ services:
44
# based on: https://dhi.io/catalog/php
55
# command: mkdir ./html && chown 65532:65532 ./html
66
wsc-php:
7-
image: docker.io/tobi312/php:8.4-dhi-fpm-debian-wsc
8-
#image: docker.io/tobi312/php:8.4-dhi-fpm-alpine-wsc
7+
image: docker.io/tobi312/php:${PHP_VERSION:-8.4}-dhi-fpm-debian-wsc
8+
#image: docker.io/tobi312/php:${PHP_VERSION:-8.4}-dhi-fpm-alpine-wsc
99
container_name: wsc-php
1010
restart: unless-stopped
1111
volumes:
1212
- ./html:/var/www/html:rw
13+
#- ./config/php_wsc.ini:/opt/php-${PHP_VERSION:-8.4}/etc/php/conf.d/wsc.ini:ro
14+
#- ./config/php_fpm_status.ini:/opt/php-${PHP_VERSION:-8.4}/etc/php-fpm.d/status.ini:ro
1315
#depends_on:
1416
# wsc-db:
1517
# condition: service_started

0 commit comments

Comments
 (0)