-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add volume and move grav installation in entrypoint.sh #5
base: master
Are you sure you want to change the base?
Conversation
Resolve "Add gitlab-ci docker build" Closes getgrav#3 See merge request botux-fr/docker/grav!2
Resolve "Add php-ldap support" Closes getgrav#1 See merge request botux-fr/docker/grav!1
…o 'master' Resolve "Issue with apcu install - Job Failed #112853842" Closes getgrav#4 See merge request botux-fr/docker/grav!4
…' into 'master' Resolve "Change code import from dockerfile to entrypoint" Closes getgrav#2 See merge request botux-fr/docker/grav!5
BuildBuild nicely on gitlab : docker/grav/pipelines/34364510. For continus integration and testing I'm using gitlab to work on this project : botux-fr/docker/grav. Docker imageYou can use and test this image on the gitlab docker registry :
With docker-compose : version: "3.6"
services:
grav:
image: registry.gitlab.com/botux-fr/docker/grav:latest
restart: always
ports:
- 8080:80
volumes:
- ./data/:/var/www/html/ And go on http://localhost:8080/ If you're using traefik as reverse proxy, you can use : version: "3.6"
networks:
reverse-proxy:
name: reverse-proxy
external: true
services:
grav:
image: registry.gitlab.com/botux-fr/docker/grav:latest
restart: always
networks:
- reverse-proxy
labels:
- "traefik.docker.network=reverse-proxy"
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.backend=grav"
- "traefik.frontend.passHostHeader=true"
- "traefik.frontend.rule=Host:${DOMAIN:-my.domain.tld}"
- "traefik.frontend.whiteList.sourceRange=${WHITELIST:-}"
volumes:
- ./data/:/var/www/html/ Have fun :p |
Resolve "Update grav 1.5.3" Closes getgrav#5 See merge request botux-fr/docker/grav!6
Update to 1.5.3 works nicely too : boTux-fr@b53e652 |
@rhukster are you planning to managed pull request approvals and allow external contributions ? Regards |
I have a big ol' note to go through the docker PRs. So Yup, I totally will go through them, but just been focused on regular Grav things last few months. |
With the new entrypoint.sh and the edition in the Dockerfile, grav is now downloaded and extracted to
/usr/src/
and the at first start it's copied in/var/www/html
if index.php doesn't exist.Heavily based on wordpress image.
I also added ldap php dependencies. Should we add also other deps like redis ?