# Docker installation on Linux

Copy the Docker compose file (opens new window) to your machine.

To use the already-built images, comment the build line and uncomment the image line

    #build: .
    image: catalysm/csmm

If you want to build the image yourself locally, you can keep the config.

At this point, you should set up your env file! Follow the instructions and then come back and continue following these steps.

TIP

Make sure to use the .env.example.docker as base for your config. You should use docker networking to route CSMM to other services as well.

DBSTRING=mysql2://csmm:your-db-password@db:3306/csmm
REDISSTRING=redis://:your-redis-password@cache:6379

Once you have your .env file ready to go, you can start CSMM with docker-compose up -d. Have a look at the logs to see if everything has started correctly with docker-compose logs -f

TIP

You should set up a reverse proxy and enable HTTPS!