Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions alpine-grav-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ENV TERM="xterm" \

RUN apk add --no-cache bash ca-certificates curl git less musl nginx tzdata vim yaml zip \
php84-fpm php84-json php84-zlib php84-xml php84-pdo php84-phar php84-openssl \
php84-gd php84-iconv php84-pecl-mcrypt php84-session php84-zip \
php84-gd php84-iconv php84-session php84-zip \
php84-curl php84-opcache php84-ctype php84-apcu \
php84-intl php84-bcmath php84-dom php84-mbstring php84-simplexml php84-xmlreader && \
rm -rf /var/cache/apk/*
Expand All @@ -42,5 +42,5 @@ RUN chmod +x /run.sh


EXPOSE 80
VOLUME ["/usr"]
# VOLUME ["/usr"]
CMD ["/run.sh"]
11 changes: 11 additions & 0 deletions alpine-grav-amd64/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
grav:
image: grav:latest
ports:
- "127.0.0.1:8080:80"
volumes:
- grav:/usr/html
environment: # Add this section to define environment variables
- VIRTUAL_HOST=grav.munn.me
volumes:
grav:
2 changes: 1 addition & 1 deletion alpine-grav-amd64/files/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ find /usr/html -type d | xargs chmod +s

# start php-fpm
mkdir -p /usr/logs/php-fpm
php-fpm7
php-fpm84

# start nginx
mkdir -p /usr/logs/nginx
Expand Down