forked from ThreeDotsLabs/wild-workouts-go-ddd-example
-
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.
Merge pull request ThreeDotsLabs#54 from ThreeDotsLabs/m1-support
Added support for M1 CPU
- Loading branch information
Showing
14 changed files
with
6,466 additions
and
4,189 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FIRESTORE_EMULATOR_HOST=localhost:8788 | ||
MYSQL_ADDR=localhost | ||
|
||
TRAINER_HTTP_ADDR=localhost:5000 | ||
TRAINER_GRPC_ADDR=localhost:5010 | ||
TRAININGS_HTTP_ADDR=localhost:5001 | ||
USERS_HTTP_ADDR=localhost:5002 | ||
USERS_GRPC_ADDR=localhost:5020 | ||
TRAINER_HTTP_ADDR=localhost:6000 | ||
TRAINER_GRPC_ADDR=localhost:6010 | ||
TRAININGS_HTTP_ADDR=localhost:6001 | ||
USERS_HTTP_ADDR=localhost:6002 | ||
USERS_GRPC_ADDR=localhost:6020 |
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,5 @@ | ||
{ | ||
"projects": { | ||
"default": "threedotslabs-cloudnative" | ||
} | ||
} |
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 @@ | ||
FROM node:16.15.0-alpine3.15 | ||
|
||
RUN apk add --no-cache openjdk8-jre | ||
RUN apk add --no-cache bash | ||
|
||
RUN npm install -g firebase-tools@10.9.2 | ||
|
||
COPY start.sh . | ||
COPY firebase.json . | ||
COPY .firebaserc . | ||
|
||
ENTRYPOINT ["./start.sh"] |
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,21 @@ | ||
{ | ||
"emulators": { | ||
"hub": { | ||
"host": "0.0.0.0", | ||
"port": 4400 | ||
}, | ||
"firestore": { | ||
"host": "0.0.0.0", | ||
"port": 8787 | ||
}, | ||
"ui": { | ||
"enabled": true, | ||
"host": "0.0.0.0", | ||
"port": 4000 | ||
}, | ||
"auth": { | ||
"port": 9099, | ||
"host": "0.0.0.0" | ||
} | ||
} | ||
} |
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 @@ | ||
#!/bin/bash | ||
set -xe | ||
|
||
firebase emulators: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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
CREATE TABLE `hours` | ||
( | ||
hour TIMESTAMP NOT NULL, | ||
hour TIMESTAMP NOT NULL DEFAULT 0, | ||
availability ENUM ('available', 'not_available', 'training_scheduled') NOT NULL, | ||
PRIMARY KEY (hour) | ||
); |
Oops, something went wrong.