自己常使用的 nginx 建構方式的筆記
version: "3.5"
services:
web:
image: nginx
volumes:
- ./ca:/ca
- ./default.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
- "443:443"
networks:
- default
networks:
default:
name: custom