Skip to content

πŸš€ Easily deploy a Ghost blog with Docker Compose and PM2

Notifications You must be signed in to change notification settings

alvarovalverde03/ghost-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ghost blog setup

This project uses Docker Compose to run a Ghost blog in development and production environments. It also uses PM2 to manage the application processes.

πŸ“‹ Requirements

To run this project, you will need:

Please ensure that you have these installed before proceeding.

πŸ› οΈ Development

To start the development environment, run:

npm run start:dev

This will start the Docker Compose setup for development.

πŸš€ Production

Before running the production environment, make sure to complete the /environments/.env.prod file with your production environment variables.

To start the production environment, run:

npm run start:prod

This will start the Docker Compose setup for production.

πŸ”„ Using PM2

This project uses PM2 to manage the application processes. You can start the development or production environment with PM2 using the following commands:

For development:

pm2 start app.config.js --only dev

For production:

pm2 start app.config.js --only prod

About

πŸš€ Easily deploy a Ghost blog with Docker Compose and PM2

Topics

Resources

Stars

Watchers

Forks