chore: 简化docker-compose部署 (#466)

This commit is contained in:
cloudGrin
2023-03-10 14:33:36 +08:00
committed by GitHub
parent a2fcd31f24
commit cbcbdda4c0
4 changed files with 7 additions and 18 deletions

View File

@@ -25,13 +25,13 @@ services:
# Socks代理端口可选和 SOCKS_PROXY_HOST 一起时生效
SOCKS_PROXY_PORT: xxxx
nginx:
build: nginx
image: chatgpt/nginx
image: nginx:alpine
ports:
- '80:80'
expose:
- '80'
volumes:
- ./nginx/html/:/etc/nginx/html/
- ./nginx/html:/usr/share/nginx/html
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
links:
- app