First version
This commit is contained in:
Generated
+3
@@ -0,0 +1,3 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
Generated
+9
@@ -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>
|
||||||
Generated
+6
@@ -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>
|
||||||
Generated
+8
@@ -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
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user