Docker-backed infrastructure management for the Fonoster application stack.
The easiest way to start running your Fonoster server is with our docker-in-docker (dind) installer. Before running the installation command, make sure you have Docker Engine installed on your machine:
Install application with the latest version available.
docker run -it --rm \
-e CONFIG_PATH=$(pwd)/fonoster/config \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume $(pwd)/fonoster:/out:rw \
--entrypoint="/install.sh" \
fonoster/fonoster
Install application with the latest version and add additional services.
docker run -it --rm \
-e CONFIG_PATH=$(pwd)/fonoster/config \
-e EXTRA_SERVICES=secrets,fs \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume $(pwd)/fonoster:/out:rw \
--entrypoint="/install.sh" \
fonoster/fonoster
Install the app with the provided version.
docker run -it --rm \
-e CONFIG_PATH=$(pwd)/fonoster/config \
-e EXTRA_SERVICES=secrets,fs \
-e FONOSTER_VERSION=0.3.3 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume $(pwd)/fonoster:/out:rw \
--entrypoint="/install.sh" \
fonoster/fonoster
Display all logs of each process or command.
docker run -it --rm \
-e CONFIG_PATH=$(pwd)/fonoster/config \
-e VERBOSE=true \
-e FONOSTER_VERSION=0.3.3 \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume $(pwd)/fonoster:/out:rw \
--entrypoint="/install.sh" \
fonoster/fonoster
Update your current installation to the latest patch for your current version. (e.g. 0.3.0 => 0.3.3)
docker run -it --rm \
-e CONFIG_PATH=$(pwd)/fonoster/config \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume $(pwd)/fonoster:/out:rw \
--entrypoint="/update.sh" \
fonoster/fonoster
Update your current installation to the provided version. (if it's the same version with different patches)
docker run -it --rm \
-e CONFIG_PATH=$(pwd)/fonoster/config \
-e FONOSTER_VERSION=0.3.3 \
-e VERBOSE=true \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume $(pwd)/fonoster:/out:rw \
--entrypoint="/update.sh" \
fonoster/fonoster