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