samwisekind / portfolio-compose

Docker Compose and nginx configs for portfolio website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Compose (Portfolio Website)

Docker Compose files for my portfolio website.

Installation

  1. Clone the repository
  2. Login with Docker to the GitHub Packages Registry: docker login docker.pkg.github.com
  3. Run docker-compose up -d

Updating the app container

When a new image for the app has been published, do the following in order to update and restart the app container:

  1. Rebuild the image: docker-compose pull app
  2. Update and restart just the app: docker-compose up --no-deps -d app

This can also be done in a single command as:

docker-compose pull app && docker-compose up --no-deps -d app

About

Docker Compose and nginx configs for portfolio website