Add wss port
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
716c6079fe
commit
0e023a06ec
|
@ -25,6 +25,17 @@ http {
|
||||||
root /app/public;
|
root /app/public;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
index index.php;
|
index index.php;
|
||||||
|
location /app/adremakey {
|
||||||
|
proxy_pass http://socketi:6001;
|
||||||
|
proxy_http_version 1.1;
|
||||||
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
proxy_set_header Connection "Upgrade";
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_cache_bypass $http_upgrade;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_read_timeout 60;
|
||||||
|
proxy_connect_timeout 60;
|
||||||
|
}
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php?$query_string;
|
try_files $uri $uri/ /index.php?$query_string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
webservice:
|
webservice:
|
||||||
image: zoomyboy/adrema-webservice:latest
|
image: zoomyboy/adrema-webservice:latest
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- php
|
- php
|
||||||
ports:
|
ports:
|
||||||
|
@ -11,6 +12,7 @@ services:
|
||||||
|
|
||||||
php:
|
php:
|
||||||
image: zoomyboy/adrema-app:latest
|
image: zoomyboy/adrema-app:latest
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
command: /bin/entrypoint app
|
command: /bin/entrypoint app
|
||||||
|
@ -30,6 +32,7 @@ services:
|
||||||
|
|
||||||
horizon:
|
horizon:
|
||||||
image: zoomyboy/adrema-app:latest
|
image: zoomyboy/adrema-app:latest
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- php
|
- php
|
||||||
|
@ -50,6 +53,7 @@ services:
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
image: zoomyboy/adrema-app:latest
|
image: zoomyboy/adrema-app:latest
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- php
|
- php
|
||||||
|
@ -70,6 +74,7 @@ services:
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb:10.6.5
|
image: mariadb:10.6.5
|
||||||
|
restart: always
|
||||||
env_file:
|
env_file:
|
||||||
- .app.env
|
- .app.env
|
||||||
environment:
|
environment:
|
||||||
|
@ -79,6 +84,14 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/db:/var/lib/mysql
|
- ./data/db:/var/lib/mysql
|
||||||
|
|
||||||
|
socketi:
|
||||||
|
image: quay.io/soketi/soketi:89604f268623cf799573178a7ba56b7491416bde-16-debian
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
SOKETI_DEFAULT_APP_ID: adremaid
|
||||||
|
SOKETI_DEFAULT_APP_KEY: adremakey
|
||||||
|
SOKETI_DEFAULT_APP_SECRET: adremasecret
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine3.18
|
image: redis:alpine3.18
|
||||||
container_name: redis
|
restart: always
|
||||||
|
|
|
@ -89,8 +89,6 @@ services:
|
||||||
|
|
||||||
socketi:
|
socketi:
|
||||||
image: quay.io/soketi/soketi:89604f268623cf799573178a7ba56b7491416bde-16-debian
|
image: quay.io/soketi/soketi:89604f268623cf799573178a7ba56b7491416bde-16-debian
|
||||||
ports:
|
|
||||||
- '6001:6001'
|
|
||||||
environment:
|
environment:
|
||||||
SOKETI_DEFAULT_APP_ID: adremaid
|
SOKETI_DEFAULT_APP_ID: adremaid
|
||||||
SOKETI_DEFAULT_APP_KEY: adremakey
|
SOKETI_DEFAULT_APP_KEY: adremakey
|
||||||
|
|
|
@ -6,7 +6,8 @@ export default new Echo({
|
||||||
broadcaster: 'pusher',
|
broadcaster: 'pusher',
|
||||||
key: 'adremakey',
|
key: 'adremakey',
|
||||||
wsHost: window.location.hostname,
|
wsHost: window.location.hostname,
|
||||||
wsPort: 6001,
|
wsPort: 80,
|
||||||
|
wssPort: 443,
|
||||||
forceTLS: false,
|
forceTLS: false,
|
||||||
disableStats: true,
|
disableStats: true,
|
||||||
cluster: 'adrema',
|
cluster: 'adrema',
|
||||||
|
|
Loading…
Reference in New Issue