forked from laradock/laradock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mirko
committed
May 27, 2017
1 parent
f296a39
commit da60b32
Showing
5 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM node:argon | ||
|
||
# Create app directory | ||
RUN mkdir -p /usr/src/app | ||
WORKDIR /usr/src/app | ||
|
||
# Install app dependencies | ||
COPY package.json /usr/src/app/ | ||
RUN npm install | ||
|
||
# Bundle app source | ||
COPY laravel-echo-server.json /usr/src/app/laravel-echo-server.json | ||
|
||
EXPOSE 3000 | ||
CMD [ "npm", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"authHost": "localhost", | ||
"authEndpoint": "/broadcasting/auth", | ||
"clients": [], | ||
"database": "redis", | ||
"databaseConfig": { | ||
"redis": { | ||
"port": "6379", | ||
"host": "redis" | ||
} | ||
}, | ||
"devMode": true, | ||
"host": null, | ||
"port": "6001", | ||
"protocol": "http", | ||
"socketio": {}, | ||
"sslCertPath": "", | ||
"sslKeyPath": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "laravel-echo-server-docker", | ||
"description": "Docker container for running laravel-echo-server", | ||
"version": "0.0.1", | ||
"license": "MIT", | ||
"dependencies": { | ||
"laravel-echo-server": "^1.2.8" | ||
}, | ||
"scripts": { | ||
"start": "laravel-echo-server start" | ||
} | ||
} |