-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
13 changed files
with
107 additions
and
24 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 |
---|---|---|
@@ -1,8 +1,9 @@ | ||
/.circleci | ||
/.dependabot | ||
/.github | ||
/.husky | ||
/.idea | ||
/docs | ||
/images | ||
/coverage | ||
/node_modules | ||
npm-debug.log |
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 @@ | ||
##################################################### | ||
###### General settings | ||
##################################################### | ||
APP_HOSTNAME=styled-screenshots | ||
APP_SERVER_PORT=3000 |
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ lerna-debug.log* | |
|
||
# BlueJ files | ||
*.ctxt | ||
*.iml | ||
|
||
# Cache files | ||
.npm | ||
|
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/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run validate:commit |
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 @@ | ||
package-lock=false | ||
save-exact=false | ||
registry=http://registry.npmjs.org |
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 @@ | ||
14.16.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,3 @@ | ||
save-prefix "^" | ||
--no-lockfile true | ||
unsafe-disable-integrity-migration true |
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,48 @@ | ||
version: '3.9' | ||
|
||
services: | ||
app: | ||
container_name: styled-screenshots | ||
hostname: '$APP_HOSTNAME' | ||
build: | ||
context: './' | ||
dockerfile: Dockerfile | ||
restart: always | ||
volumes: | ||
- type: volume | ||
source: appvolume | ||
target: /usr/src/app | ||
volume: | ||
nocopy: true | ||
- type: bind | ||
source: ./data | ||
target: /usr/src/data | ||
healthcheck: | ||
test: ['CMD-SHELL', 'nc', '-vz', 'localhost', '3000'] | ||
interval: 3s | ||
retries: 15 | ||
start_period: 30s | ||
networks: | ||
- default | ||
ports: | ||
- '${IP_ADDRESS:-127.0.0.1}:${APP_SERVER_PORT:-3000}:3000' | ||
deploy: | ||
mode: global | ||
logging: | ||
options: | ||
max-size: '100m' | ||
max-file: '10' | ||
|
||
networks: | ||
default: | ||
driver: bridge | ||
driver_opts: | ||
com.docker.network.driver.mtu: 1450 | ||
|
||
volumes: | ||
appvolume: | ||
driver: local | ||
driver_opts: | ||
o: bind | ||
type: none | ||
device: ./ |
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
c1bcab2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployment failed with the following error: