Skip to content

Commit

Permalink
Merge pull request #73 from Itstime-replog/feature/#72
Browse files Browse the repository at this point in the history
Feat: nginx, https 배포
  • Loading branch information
qormoon authored Jan 14, 2025
2 parents 34093c8 + 74f6a3f commit 028c035
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,31 @@ services:
networks:
- app-network

nginx:
image: nginx:latest
container_name: nginx
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/conf:/etc/nginx/conf.d
- ./nginx/certbot/conf:/etc/letsencrypt
- ./nginx/certbot/www:/var/www/certbot
depends_on:
- app
- certbot
networks:
- app-network

certbot:
image: certbot/certbot
container_name: certbot
volumes:
- ./nginx/certbot/conf:/etc/letsencrypt
- ./nginx/certbot/www:/var/www/certbot
networks:
- app-network

networks:
app-network:
driver: bridge

0 comments on commit 028c035

Please sign in to comment.