Skip to content

Commit

Permalink
refactor(docker-compose): 다시 원래대로 복구
Browse files Browse the repository at this point in the history
  • Loading branch information
kingjinyong committed Jan 17, 2025
1 parent 14a2303 commit ab2a550
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,35 +59,11 @@ services:
networks:
- app-network

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

certbot:
image: certbot/certbot
container_name: certbot
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- ./certbot:/var/www/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do sleep 1000; done'"

volumes:
mysql_data:
redis_data:

networks:
app-network:
name: app-network
driver: bridge
driver: bridge

0 comments on commit ab2a550

Please sign in to comment.