Open philippejadin opened 7 years ago
Hey, it's WIP as I am not that familiar with how it works. You can start the stack running this on a docker SWARM cluster:
$ docker stack deploy --compose-file docker-compose.yml agorakit
Creating network agorakit_default
Creating service agorakit_agorakit
Creating service agorakit_mysql
This will start a mysql-container and a agorakit one. When accessing the container, you can start caddy (a minimalistic webserver) and it will serve the kit on 8080.
$ docker exec -ti $(docker ps -qf label=com.docker.swarm.service.name=agorakit_agorakit) caddy -port 8080
Activating privacy features... done.
http://:8080
But that gives me nothing. It's the first time I use caddy though. :)
$ curl -sI localhost:8080
HTTP/1.1 404 Not Found
Content-Type: text/plain; charset=utf-8
Server: Caddy
X-Content-Type-Options: nosniff
Date: Mon, 11 Sep 2017 17:16:18 GMT
Content-Length: 14
I don't know caddy either, but I can tell that for a laravel project, you need to serve the /public directory and webserver must support url rewriting (.htaccess provided for apache).
That's all I know unfortunately :-)
Hello, I'm the dev of agorakit. I just came across your attempt at doing a docker install of agorakit. I know almost nothing about docker, but this looks like a good way to help people host agorakit easily.
Thanks for your efforts, very much appreciated!