Skip to content

alexanderfefelov/docker-cubesviewer-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-cubesviewer-server

CubesViewer Server in a Docker container.

DNS

Your DNS server must resolve cubes.test (Cubes server, e. g. in another container) and cubesviewer-server.test (this server) hosts.

Try

curl http://cubes.test:5000/info

to check Cubes server availability.

Build and run

Build (there is an automated build on the Quay.io, so you can skip this step):

docker build --tag quay.io/alexanderfefelov/cubesviewer-server .

Run:

docker run \
  --name cubesviewer-server \
  --detach \
  --restart unless-stopped \
  --volume /etc/localtime:/etc/localtime:ro --volume /etc/timezone:/etc/timezone:ro \
  --publish 8000:8000 \
  --health-cmd /healthcheck.sh --health-start-period 3s --health-interval 1m --health-timeout 1s --health-retries 3 \
  --log-opt max-size=10m --log-opt max-file=5 \
  quay.io/alexanderfefelov/cubesviewer-server

Point your browser to http://cubesviewer-server.test:8000/cubesviewer (or http://cubesviewer-server.test:8000/admin for Django admin) with admin / admin or user / user credentials.