Refactor: Rename services and containers to home-service-proxy
This commit is contained in:
30
docker-compose-http.yml
Normal file
30
docker-compose-http.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
# HTTP 전용 Nginx (SSL 인증용)
|
||||
nginx-http:
|
||||
image: nginx:alpine
|
||||
container_name: home-service-http-only
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./nginx-http-only.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./certbot-webroot:/var/www/certbot:ro
|
||||
networks:
|
||||
- home-service-proxy-net
|
||||
|
||||
# Certbot (Let's Encrypt)
|
||||
certbot:
|
||||
image: certbot/certbot
|
||||
container_name: home-service-certbot-only
|
||||
volumes:
|
||||
- ./ssl-certs:/etc/letsencrypt
|
||||
- ./certbot-webroot:/var/www/certbot
|
||||
command: certonly --webroot --webroot-path=/var/www/certbot --email ahn@hyungi.net --agree-tos --no-eff-email -d jellyfin.hyungi.net
|
||||
profiles:
|
||||
- ssl-setup
|
||||
|
||||
networks:
|
||||
home-service-proxy-net:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user