-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to docker-compose file to build frontend and server, OOO on b…
…ooting with dbs
- Loading branch information
Showing
9 changed files
with
5,585 additions
and
19,107 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 @@ | ||
node_modules/ |
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 |
---|---|---|
|
@@ -10,4 +10,7 @@ static/lib/ | |
_docker-volumes/ | ||
|
||
# Editors | ||
.vscode/ | ||
.vscode/ | ||
|
||
# Mac OS X Bullshit | ||
.DS_Store |
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 @@ | ||
v14.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,18 @@ | ||
FROM golang:1.19-alpine | ||
|
||
WORKDIR /app | ||
|
||
RUN mkdir -p github.com/cryptag/leapchat/miniware | ||
|
||
WORKDIR /app/github.com/cryptag/leapchat | ||
|
||
COPY miniware/* miniware/ | ||
COPY *.go . | ||
COPY go.* . | ||
COPY LICENSE.md . | ||
|
||
RUN go build -o /leapchat | ||
|
||
EXPOSE 8080 | ||
|
||
CMD ["/leapchat"] |
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:14-alpine | ||
|
||
WORKDIR /app | ||
|
||
COPY package.json . | ||
RUN npm install --legacy-peer-deps | ||
|
||
COPY src/ /app/src | ||
COPY test/ /app/test | ||
|
||
COPY webpack* . | ||
COPY .env . | ||
COPY .babelrc . | ||
|
||
CMD ["npm", "run", "dev"] |
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 @@ | ||
|
||
start: | ||
docker compose up -d | ||
|
||
stop: | ||
docker compose down | ||
|
||
restart: | ||
docker compose restart | ||
|
||
build: | ||
docker compose build | ||
|
||
buildup: | ||
docker compose up -d --build | ||
|
||
cleanv: | ||
docker compose down -v |
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
Oops, something went wrong.