First version
This commit is contained in:
@@ -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