-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from jakowenko/beta
v1.0.0
- Loading branch information
Showing
87 changed files
with
7,082 additions
and
1,601 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
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,3 @@ | ||
#!/bin/bash | ||
|
||
docker build -f ./.build/Dockerfile -t double-take . |
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 @@ | ||
#!/bin/bash | ||
|
||
docker compose -p double-take -f ./.develop/docker-compose.yml $1 $2 |
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,39 @@ | ||
version: '3.7' | ||
|
||
services: | ||
frontend: | ||
container_name: double-take-frontend | ||
command: npm run frontend | ||
depends_on: | ||
- api | ||
build: | ||
context: ../ | ||
dockerfile: ./.develop/Dockerfile.dev | ||
ports: | ||
- 8080:8080 | ||
volumes: | ||
- ..:/double-take | ||
- /double-take/frontend/node_modules | ||
|
||
api: | ||
container_name: double-take-api | ||
entrypoint: .develop/entrypoint.dev.sh | ||
depends_on: | ||
- mqtt | ||
build: | ||
context: ../ | ||
dockerfile: ./.develop/Dockerfile.dev | ||
ports: | ||
- 3000:3000 | ||
volumes: | ||
- ..:/double-take | ||
- /double-take/api/node_modules | ||
|
||
mqtt: | ||
container_name: double-take-mqtt | ||
restart: unless-stopped | ||
image: eclipse-mosquitto | ||
volumes: | ||
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf | ||
ports: | ||
- 1883:1883 |
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,6 +1,6 @@ | ||
* | ||
|
||
!entrypoint.sh | ||
!.build/entrypoint.sh | ||
!frontend/* | ||
!api/* | ||
|
||
|
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,25 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
- name: Install dependencies | ||
run: npm ci | ||
- name: Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npx semantic-release |
Oops, something went wrong.