Compare commits
No commits in common. "master" and "base" have entirely different histories.
@ -27,7 +27,6 @@ steps:
|
|||||||
password:
|
password:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
dockerfile: Dockerfile.php
|
|
||||||
repo: docker.hibas123.de/caddy-php
|
repo: docker.hibas123.de/caddy-php
|
||||||
registry: docker.hibas123.de
|
registry: docker.hibas123.de
|
||||||
debug: false
|
debug: false
|
||||||
|
@ -16,6 +16,8 @@ VOLUME [ "/config" ]
|
|||||||
|
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
|
|
||||||
|
COPY Caddyfile /etc/Caddyfile
|
||||||
|
|
||||||
COPY start.sh /start.sh
|
COPY start.sh /start.sh
|
||||||
RUN chmod +x /start.sh
|
RUN chmod +x /start.sh
|
||||||
|
|
||||||
|
4
start.sh
4
start.sh
@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ -f "/usr/sbin/php-fpm7" ]; then
|
|
||||||
/usr/sbin/php-fpm7 --allow-to-run-as-root -D --fpm-config /etc/php7/php-fpm.conf
|
/usr/sbin/php-fpm7 --allow-to-run-as-root -D --fpm-config /etc/php7/php-fpm.conf
|
||||||
fi
|
|
||||||
|
|
||||||
caddy run --config /config/Caddyfile --adapter caddyfile
|
caddy run --config /etc/Caddyfile --adapter caddyfile
|
||||||
|
Loading…
Reference in New Issue
Block a user