Skip to content

petshark/petshark

 
 

Repository files navigation

PETSHARK!

Docker Setup

  • The docker folder contains the setup for deployable images. The same images are used as basis for the development setup.
  • docker-compose.yml uses the deployable images and starts them with configuration tuned for development.

Docker Compose Cheat Sheet (development)

  • start all containers: docker-compose up
  • build and start all containers: docker-compose up --build
  • stop all containers: docker-compose down
  • build single container: docker-compose build <service-name>
  • run single container: docker-compose run <service-name>
  • run single container with different command: e.g. docker-compose run <service-name> bash -c 'echo hello world'

Docker Cheat Sheet (production)

  • docker build --file ./docker/adminer/Dockerfile --tag ps-adminer .
  • docker run -p 80:8080 -e ADMINER_AUTOLOGIN=true ps-adminer:latest
  • docker inspect <image-name>
  • docker history <image-name>
  • docker volume ls
  • docker volume rm <volume-name>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors