44 lines
803 B
YAML
44 lines
803 B
YAML
services:
|
|
|
|
web_dash:
|
|
container_name: web_dash
|
|
image: php:8.0-apache
|
|
ports:
|
|
- 172.17.0.1:8080:80
|
|
volumes:
|
|
- ./html:/var/www/html/
|
|
network_mode: bridge
|
|
restart: always
|
|
|
|
ws_node:
|
|
container_name: ws_node
|
|
image: ws_node
|
|
ports:
|
|
- 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:
|
|
- "80:80"
|
|
volumes:
|
|
- ./proxy/nginx.conf:/etc/nginx/conf.d/default.conf
|
|
network_mode: bridge
|
|
restart: always
|
|
depends_on:
|
|
- web_dash
|
|
- ws_node
|
|
|