This repo contains docker compose file that is used to host my projects:
This setup was not made to be replicated. This repo servers as documentation for this setup.
This docker-compose file spins up following containers structure:
- Clone this repository to any VPS provided. Originally it was designed for EC2 but nowadays I run it on Linode.
- Navigate to repository folder
cd ec2-setup
- Create
.stockedup.env
and.dokchat.env
files that match the examples on both repos. You need to manually create API keys and other resources here. - Spin up docker images. This will run all services locally.
docker compose up
- Install NGINX and move files from
nginx-config
to/etc/nginx/conf.d
. - Restart NGINX:
sudo systemctl restart nginx.service
- Instal and configure Certbot for Let's Encrypt certificates