Docker WebSocket

This commit is contained in:
2021-03-30 16:39:52 -03:00
parent 70f8671c01
commit 5d229739fe

View File

@ -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