- Fill out
.env
file - Run
docker-compose up
Deploying the app to production requires some extra steps, since Telegram requires using HTTPS for Telegram Web Apps
- Fill out
.env
file - Start the TLS certificate setup containers:
docker-compose -f docker-compose.setup.yml up --build
- When the certificate request is successful, shut down the containers (
CTRL+C
) - Generate dhparams:
cd nginx
sudo ./dhparam.sh
- Go back to the root folder and run the app containers:
docker-compose -f docker-compose.prod.yml up --build