/all-in-one-hackazon

Run a docker container include hackazon, apache, and mysql

Primary LanguageShellMIT LicenseMIT

all-in-one-hackazon

Run a docker container include hackazon, apache, mysql, and nodejs with express server

This work is based on https://github.com/cmutzel/all-in-one-hackazon

Instructions

To build the container:

docker build --rm -t bepsoccer/all-in-one-hackazon .

then run via:

docker run --name hackazon -d -p 80:80 bepsoccer/all-in-one-hackazon

Login into hackazon at http:// (( your host here... )) and begin configuring... You can just select to use the existing db password as it is set in the startup script. The admin password will be the same as the db password and is echoed at startup and can be found in /hackazon-db-pw.txt.

Swarm Setup

docker swarm init
docker service create --name registry --publish published=5000,target=5000 registry:2
docker compose up -d
#Test around 
docker-compose ps
curl http://localhost:80
docker compose down --volumes
docker compose push
docker stack deploy --compose-file docker-compose.yml fiuni_hackazon