nginx container to proxy and some visual tweaks
This commit is contained in:
@ -4,7 +4,7 @@ services:
|
||||
container_name: web_dash
|
||||
image: php:8.0-apache
|
||||
ports:
|
||||
- 80:80
|
||||
- 172.17.0.1:8080:80
|
||||
volumes:
|
||||
- ./html:/var/www/html/
|
||||
network_mode: bridge
|
||||
@ -14,15 +14,30 @@ services:
|
||||
container_name: ws_node
|
||||
image: ws_node
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 172.17.0.1:3000:3000
|
||||
network_mode: bridge
|
||||
restart: always
|
||||
depends_on:
|
||||
- redis
|
||||
|
||||
redis:
|
||||
container_name: redis
|
||||
image: redis:7-alpine
|
||||
ports:
|
||||
- 172.17.0.1:6379:6379
|
||||
network_mode: bridge
|
||||
restart: always
|
||||
|
||||
nginx_proxy:
|
||||
container_name: nginx_proxy
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- 172.17.0.1:6379:6379
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./proxy/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
network_mode: bridge
|
||||
restart: always
|
||||
depends_on:
|
||||
- web_dash
|
||||
- ws_node
|
||||
|
||||
|
||||
Reference in New Issue
Block a user