chore: Update configs for new Contabo VPS (aicpa.duckdns.org / 13.140.170.213)

This commit is contained in:
Atharv1705
2026-09-21 11:12:15 +05:30
parent 9ef212675d
commit a28b7702a9
3 changed files with 18 additions and 3 deletions
+11 -1
View File
@@ -3,10 +3,13 @@ services:
nginx:
image: nginx:1.25-alpine
ports:
- "127.0.0.1:8081:80"
- "80:80"
- "443:443"
volumes:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./frontend/dist:/usr/share/nginx/html:ro
- ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot
depends_on:
- app
restart: unless-stopped
@@ -39,6 +42,13 @@ services:
restart: unless-stopped
certbot:
image: certbot/certbot
volumes:
- ./certbot/conf:/etc/letsencrypt
- ./certbot/www:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
db:
image: mysql:8.4