Docker WebSocket
This commit is contained in:
@ -43,6 +43,27 @@ services:
|
||||
ports:
|
||||
- 9124:9000
|
||||
|
||||
ws-server:
|
||||
container_name: money_ws
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- 8020:80
|
||||
volumes:
|
||||
- .:/code
|
||||
- ./ws/docker/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
depends_on:
|
||||
- ws-php
|
||||
|
||||
ws-php:
|
||||
container_name: money_ws_php
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ./ws/docker
|
||||
dockerfile: PHP.Dockerfile
|
||||
volumes:
|
||||
- .:/code
|
||||
|
||||
|
||||
db:
|
||||
container_name: money_db
|
||||
image: mariadb:latest
|
||||
|
Reference in New Issue
Block a user