mediacms/docs/Docker_Compose.md
Markos Gogoulos d3a3934ce7
cleanup docs and add some more regarding Docker installation (#223)
* cleanup docs and add some more regarding Docker installation
2021-06-16 20:46:40 +03:00

1.2 KiB

Docker Compose

Installation

Install a recent version of Docker, and Docker Compose.

For Ubuntu 18/20 systems this is:

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Then run as root

git clone https://github.com/mediacms-io/mediacms
cd mediacms

The default option is to serve MediaCMS on all ips available of the server (including localhost). If you want to explore more options (including setup of https with letsencrypt certificate) checkout the docs on the Docker deployment page for different docker-compose setups to use.

Run

docker-compose up

This will download all MediaCMS related Docker images and start all containers. Once it finishes, MediaCMS will be installed and available on http://localhost or http://ip

Configuration

Checkout the configuration docs on Configuration page.

Maintenance

Database is stored on XX and media_files on YY