- git
- docker v 19+
- docker-compose v 1.25+
- Clone project with submodules
git clone --recurse-submodules https://github.com/prisma-cms/docker my-project-name
cd my-project-name
- Copy and edit environments file
cp .env.sample .env
- Copy and edit web-server config file
cp caddy/Caddyfile.sample caddy/Caddyfile
- Copy and edit coturn config file
cp coturn/turnserver.conf.sample coturn/turnserver.conf
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d mysql
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d prisma
Check this containers been started
docker-compose ps mysql prisma
Start proxy server
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d proxy
Start API-server
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d api
After try open http://localhost:2016
Start Front-server
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d front
After try open http://localhost:2015
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d rtcmultyconnection coturn
Start PhpMyAdmin
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up --build -d pma
After try open http://localhost:2017
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build -d
# In project's folder
docker-compose stop
# In project's folder
docker-compose down