1
This commit is contained in:
parent
f558b4ace9
commit
6501f0563b
@ -45,26 +45,26 @@ services:
|
||||
networks:
|
||||
- trading-network
|
||||
|
||||
# Nginx反向代理(可选)
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
container_name: trading-ai-nginx
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./nginx/ssl:/etc/nginx/ssl:ro
|
||||
depends_on:
|
||||
- trading-web
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- trading-network
|
||||
# # Nginx反向代理(可选)
|
||||
# nginx:
|
||||
# image: nginx:alpine
|
||||
# container_name: trading-ai-nginx
|
||||
# ports:
|
||||
# - "80:80"
|
||||
# - "443:443"
|
||||
# volumes:
|
||||
# - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
# - ./nginx/ssl:/etc/nginx/ssl:ro
|
||||
# depends_on:
|
||||
# - trading-web
|
||||
# restart: unless-stopped
|
||||
# networks:
|
||||
# - trading-network
|
||||
|
||||
networks:
|
||||
trading-network:
|
||||
driver: bridge
|
||||
# networks:
|
||||
# trading-network:
|
||||
# driver: bridge
|
||||
|
||||
volumes:
|
||||
trading-data:
|
||||
driver: local
|
||||
# volumes:
|
||||
# trading-data:
|
||||
# driver: local
|
||||
Loading…
Reference in New Issue
Block a user