init project
This commit is contained in:
commit
3541d55d7c
32
Dockerfile
Normal file
32
Dockerfile
Normal file
@ -0,0 +1,32 @@
|
||||
FROM php:8-fpm-alpine
|
||||
COPY --from=caddy:alpine /usr/bin/caddy /usr/bin/caddy
|
||||
RUN set -eux && \
|
||||
apk update &&\
|
||||
apk add --no-cache \
|
||||
openssl \
|
||||
openssl-dev \
|
||||
autoconf \
|
||||
g++ \
|
||||
make \
|
||||
pcre-dev \
|
||||
icu-dev \
|
||||
ca-certificates \
|
||||
mailcap \
|
||||
postgresql-libs \
|
||||
zlib \
|
||||
zlib-dev \
|
||||
libzip \
|
||||
libzip-dev \
|
||||
libpng \
|
||||
libpng-dev \
|
||||
libjpeg-turbo \
|
||||
libjpeg-turbo-dev \
|
||||
libxslt \
|
||||
libxslt-dev \
|
||||
postgresql-libs \
|
||||
postgresql-dev \
|
||||
libgcrypt-dev &&\
|
||||
docker-php-ext-install -j "$(nproc)" exif zip mysqli pdo_mysql mbstring bcmath intl opcache sockets pcntl pgsql pdo_pgsql gd &&\
|
||||
docker-php-ext-configure gd --with-jpeg &&\
|
||||
pecl install redis &&\
|
||||
docker-php-ext-enable redis
|
||||
12
config/Caddyfile
Normal file
12
config/Caddyfile
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
auto_https disable_redirects
|
||||
email admin@rainss.cc
|
||||
}
|
||||
jrebel.rainss.cc:80, jrebel.rlds.tk:80 {
|
||||
encode zstd gzip
|
||||
reverse_proxy :81
|
||||
}
|
||||
charles.rlds.tk:80 {
|
||||
encode zstd gzip
|
||||
reverse_proxy :8082
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user