-
Notifications
You must be signed in to change notification settings - Fork 18
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
664ab23
commit 9239851
Showing
3 changed files
with
52 additions
and
1 deletion.
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,34 @@ | ||
# Ignore node_modules (since we install dependencies inside the container) | ||
node_modules | ||
|
||
# Ignore build directories | ||
.next | ||
out | ||
|
||
# Ignore Dockerfile and docker-compose if not needed in production image | ||
Dockerfile | ||
docker-compose.yml | ||
|
||
# Ignore environment files | ||
.env.local | ||
.env.development | ||
.env.production | ||
.env.test | ||
|
||
# Ignore logs and temporary files | ||
*.log | ||
*.tmp | ||
*.swp | ||
|
||
# Ignore Git related files | ||
.git | ||
.gitignore | ||
|
||
# Ignore IDE/editor files | ||
.vscode | ||
.idea | ||
*.sublime-workspace | ||
*.sublime-project | ||
|
||
# Ignore test coverage | ||
coverage |
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,17 @@ | ||
version: '3' | ||
services: | ||
redis: | ||
image: redis | ||
restart: always | ||
ports: | ||
- '6379:6379' | ||
|
||
serverless-redis-http: | ||
ports: | ||
- '8079:80' | ||
image: hiett/serverless-redis-http:latest | ||
restart: always | ||
environment: | ||
SRH_MODE: env | ||
SRH_TOKEN: example_token | ||
SRH_CONNECTION_STRING: 'redis://redis:6379' # Using `redis` hostname since they're in the same Docker network. |
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 |
---|---|---|
|
@@ -32,4 +32,4 @@ export default async function NotepadPage({ params }: NotepadPageProps) { | |
)} | ||
</div> | ||
); | ||
} | ||
} |