FROM php:8.1-fpm-alpine
LABEL org.opencontainers.image.authors="jerome@jutteau.fr"
+ARG INI="php"
# base install
RUN apk update && \
COPY --chmod=550 docker/cleanup.sh docker/run.sh /
COPY --chmod=640 docker/docker_config.php /docker_config.php
-COPY docker/php.ini /usr/local/etc/php/php.ini
+COPY docker/${INI}.ini /usr/local/etc/php/php.ini
COPY docker/lighttpd.conf /etc/lighttpd/lighttpd.conf
# Install Jirafeau
services:
web:
build:
+ no_cache: true
+ args:
+ # INI: php_debug #change the ini
context: . # or ../Dockerfile if we put it in the ./docker folder
volumes:
- ./jirafeau_data:/data
environment:
- - ADMIN_PASSWORD='p4ssw0rd'
-
+ ADMIN_PASSWORD: p4ssw0rd
+ #LANG: en
+ AVAILABILITIES: |
+ {
+ "minute": true,
+ "hour": true,
+ "day": true,
+ "week": true,
+ "fortnight": true,
+ "month": true,
+ "quarter": false,
+ "year": false,
+ "none": false
+ }
ports:
- 8080:80