This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
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
1 parent
92951d0
commit aa034b3
Showing
9 changed files
with
88 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
vendor | ||
backend/build | ||
backend/phpunit.xml | ||
node_modules | ||
frontend/public/bundle.js |
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
vendor | ||
.crossbar | ||
node_modules | ||
|
||
backend/build | ||
backend/phpunit.xml | ||
node_modules | ||
frontend/public/bundle.js |
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,19 @@ | ||
FROM php:7-alpine | ||
|
||
RUN mkdir /app | ||
|
||
WORKDIR /app | ||
|
||
# Install composer for dependency installation | ||
RUN php -r "readfile('https://getcomposer.org/installer');" | php -- --install-dir=/usr/local/bin --filename=composer \ | ||
&& chmod +x /usr/local/bin/composer | ||
|
||
COPY ./ /app | ||
|
||
ENV COMPOSER_ALLOW_SUPERUSER=1 | ||
|
||
RUN composer --working-dir=/app install --optimize-autoloader --classmap-authoritative --no-interaction --prefer-dist --no-scripts | ||
|
||
EXPOSE 80 | ||
|
||
CMD ["php", "broadcast.php"] |
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,3 @@ | ||
FROM crossbario/crossbar | ||
|
||
COPY config.json /node/.crossbar/config.json |
File renamed without changes.
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,18 @@ | ||
version: '2.0' | ||
|
||
services: | ||
crossbar: | ||
build: ./crossbar/ | ||
image: crossbario/crossbar | ||
ports: | ||
- '7777:8080' | ||
|
||
broadcaster: | ||
build: ./backend/ | ||
ports: | ||
- '8888:80' | ||
|
||
frontend: | ||
build: ./frontend/ | ||
ports: | ||
- "8080:8080" |
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,4 @@ | ||
FROM node:onbuild | ||
|
||
RUN chmod a+x node_modules/.bin/* | ||
RUN npm run build |
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