Added Caddyfile, updates to readme.

pull/2/head
Brock Freeman 9 years ago
parent d6eb971092
commit 92da0a00d5

@ -0,0 +1,3 @@
localhost:2015
fastcgi / 127.0.0.1:9000 php # php variant only
startup php-fpm # php variant only

@ -1,5 +1,8 @@
# using https://hub.docker.com/r/abiosoft/caddy/
FROM abiosoft/caddy:php
# load Caddyfile
ADD Caddyfile /etc/Caddyfile
# load in phpLiteAdmin code
COPY . /srv

@ -22,9 +22,11 @@ Additional Configuration Options can be found in the [phpLiteAdmin README](phpLi
Replace the `/path/to/db/directory` below with the actual path where your db is.
`$ docker run -it --rm -p 2015:2015 -v /path/to/db/directory:/db --name websql acttaiwan/phpliteadmin`
`$ docker run -it --rm -p 2015:2015 -v $(pwd):/db --name websql acttaiwan/phpliteadmin`
Access the admin page at http://localhost:2015/phpliteadmin.php
## Let's Encrypt Auto SSL
## Advanced Configuration
### Caddyfile
Port number, IP and other items can be set in the Caddyfile. See instructions on the [Caddy website](https://caddyserver.com/docs/caddyfile).
### Let's Encrypt Auto SSL
See the Docker hub [abiosoft/caddy](https://hub.docker.com/r/abiosoft/caddy/) page.
Loading…
Cancel
Save