Compare commits

..

7 Commits

Author SHA1 Message Date
Lee
092dff97fa Update docker-compose.yml 2024-06-01 17:26:21 +00:00
Lee
d42ff7420f Update docker-compose.yml 2024-06-01 17:26:13 +00:00
Lee
d7b7da43b6 Add LICENSE 2024-04-24 20:28:40 +00:00
Lee
99ef402c4b Update application.yml 2024-04-23 20:18:55 +00:00
Lee
66a45c0178 Merge pull request 'Configure Renovate' (#1) from renovate/configure into master
Reviewed-on: #1
2024-04-23 20:13:28 +00:00
Lee
0e2424cf75 Update application.yml 2024-04-23 18:14:49 +00:00
8bd453f552 Add renovate.json 2024-04-23 15:00:43 +00:00
4 changed files with 22 additions and 10 deletions

9
LICENSE Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright (c) 2024 Liam (Fascinated)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -3,6 +3,9 @@ server:
port: 3000
servlet:
context-path: /
tomcat:
# Limit the maximum POST size to 1MB
max-http-form-post-size: 1MB
# Spring Configuration
spring:
@ -10,7 +13,6 @@ spring:
jackson:
default-property-inclusion: non_null
data:
# MongoDB - This is used for general data storage
mongodb:
uri: mongodb://root:root@mongo:27017
@ -21,6 +23,8 @@ spring:
paste:
# The length of the ID for the paste
id-length: 12
# The limit of the paste size (in characters) - You can set it to "-1" to disable the limit
upload-size-limit: 400000
# Set the embedded MongoDB version
de:

View File

@ -1,19 +1,12 @@
version: '3.9'
services:
frontend:
image: fascinated/paste-frontend:latest
restart: always
environment:
NEXT_PUBLIC_API_ENDPOINT: http://localhost:3005
ports:
- "3000:80"
backend:
paste:
image: fascinated/paste-backend:latest
restart: always
volumes:
- ./application.yml:/home/container/application.yml
ports:
- "3005:3000"
- "3000:3000"
mongo:
image: mongo:latest
restart: always

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}