ืืฉืื ืืงืืื ืืืืจื ื ืืช Nginx, ืื ืืื ืื ืืฆืืื ืืคืชืืจ ืืช ืืฉืืืช notebooks ืึพnotes.
ืืขืช ื ืืกืืฃ ืจืฉืช ืืฉืืชืคืช ืืืฉื ืื ืืืจ ืืืื ืืช ื-Reverse Proxy ืืืช ืฉื ื ืืฉืืจืืชืื ืืงืืืืื.
ืืงืืืฅ compose.yaml ืืจืืฉื ื ืืกืืฃ:
networks:
notes-app-net:
ืืืฉืืจืืช ื-reverse-proxy ื ืืกืืฃ:
services:
reverse-proxy:
image: nginx:1.27.0
ports:
- "8080:80"
depends_on:
- notebooks
- notes
networks:
- notes-app-net
ืืขืช ื-Reverse Proxy ืืืืืจ ืืจืฉืช ืืืืฉื.
ืืงืืืฆื ื-Compose ืฉื notebooks ืึพnotes ืืื ืืืืืจ ืืจืฉืช ืืื.
ืืื ืืืืกืืฃ ืงืื ืคืืืืจืฆืื ืืฉืืจืืชืื ืฉืืืืขืื ืึพCompose ืืืื, ื ืฉืชืืฉ ืืงืืืฅ ืืืืื:
compose.override.yaml
ืืฉื ืืฉืื โ Docker Compose ืืืื ืืืชื ืืืืืืืืช ืืืืื ืืืชื ืขื ืืงืื ืคืืืืจืฆืื ืืงืืืืช.
ืืชืื compose.override.yaml ื ืืชืื:
services:
notebooks:
networks:
- notes-app-net
notes:
networks:
- notes-app-net
ืื ืงืืจื ืืื?