aggiunto fmd
This commit is contained in:
parent
be6b321c56
commit
513916995f
@ -111,6 +111,12 @@ https://social.ilnostropianetaselvaggio.it {
|
||||
}
|
||||
}
|
||||
|
||||
# FMD
|
||||
|
||||
https://fmd.ilnostropianetaselvaggio.it {
|
||||
reverse_proxy localhost:3015
|
||||
}
|
||||
|
||||
# MOLLY
|
||||
|
||||
https://molly.ilnostropianetaselvaggio.it {
|
||||
|
29
fmd/config.yml
Normal file
29
fmd/config.yml
Normal file
@ -0,0 +1,29 @@
|
||||
# This is an example config file for FMD Server
|
||||
|
||||
# Listening precedence: socket > HTTPS > HTTP
|
||||
|
||||
# Path to listening UNIX socket. If empty, no unix sockets will be used.
|
||||
UnixSocketPath: "" # /tmp/fmd.sock
|
||||
# Permissions to set on the socket after it is created. If < 0, no
|
||||
# modifications are made. This considered insecure practice, if you
|
||||
# do it, consider setting a umask for the daemon user before starting it.
|
||||
# Must start with a leading 0.
|
||||
UnixSocketChmod: 0660
|
||||
|
||||
# The ports FMD Server should listen on.
|
||||
# Set the port value to -1 to disable it.
|
||||
# The secure port is only used if the cert and key are set (see below).
|
||||
PortSecure: 8443
|
||||
PortInsecure: 8080
|
||||
|
||||
# The length for the user IDs that are generated
|
||||
UserIdLength: 5
|
||||
|
||||
# How many location points or pictures FMD Server should save per account
|
||||
MaxSavedLoc: 1000
|
||||
MaxSavedPic: 10
|
||||
|
||||
# If RegistrationToken is non-empty, FMD Server will require the FMD app to provide this token during registration.
|
||||
# Set this to a long random string if you want your instance to be private and not open to registrations by anyone.
|
||||
# You can e.g. generate a 32 character string with your password manager.
|
||||
RegistrationToken: ""
|
15
fmd/docker-compose.yml
Normal file
15
fmd/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
# https://gitlab.com/Nulide/findmydeviceserver
|
||||
# https://gitlab.com/Nulide/findmydevice/-/wikis/PERMISSION-WRITE_SECURE_SETTINGS
|
||||
|
||||
services:
|
||||
fmd:
|
||||
image: registry.gitlab.com/nulide/findmydeviceserver:latest
|
||||
container_name: fmd
|
||||
user: 1000:1000
|
||||
mem_limit: 128m
|
||||
ports:
|
||||
- 127.0.0.1:3015:8080
|
||||
volumes:
|
||||
- './fmddata/db/:/fmd/db/'
|
||||
- './config.yml:/fmd/config.yml:ro'
|
||||
restart: unless-stopped
|
Loading…
x
Reference in New Issue
Block a user