First version

This commit is contained in:
2024-12-22 21:06:17 +01:00
commit 7008898ee4
6 changed files with 71 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/lynx.iml" filepath="$PROJECT_DIR$/.idea/lynx.iml" />
</modules>
</component>
</project>
Generated
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+39
View File
@@ -0,0 +1,39 @@
version: "3.9"
services:
db:
image: mongo
container_name: Lynx-DB
restart: on-failure:5
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
interval: 10s
timeout: 10s
retries: 5
start_period: 20s
volumes:
- /var/lib/docker/volumes/lynxdb:/data/db:rw
- /var/lib/docker/volumes/lynxdb:/data/configdb:rw
lynx:
image: jackbailey/lynx
container_name: Lynx
restart: on-failure:5
ports:
- 3485:3000
depends_on:
- db
environment:
- NODE_ENV=production
- JWT_KEY=gy5CBxx2l7ApP3U9W7lr1pgS3cgtomwF
- URL_LENGTH=8
- URL_SET=standard
- URL_ONLY_UNIQUE=false
- HOME_REDIRECT=/dash/overview
- FORCE_FRONTEND_REDIRECT=false
- ENABLE_REGISTRATION=false # First registration will always be allowed.
- DOMAIN=https://lynxdev.maison
- DEMO=false
- DB_HOST=db
- DB_PORT=27017