[fix][add][mod] fixed typo in api.yml, added data folder and modified compose
- [add] added existing data folder to prevent docker creating one as root - [mod] docker-compose.yml now uses $EUID as default user and group id
This commit is contained in:
4
api.yml
4
api.yml
@@ -3,7 +3,7 @@ info:
|
||||
description: "Simple dynDNS via Rest-API.
|
||||
|
||||
|
||||
The demo database will reset every **60** minutes. A maximum of 250 clients can exist in the demo database.
|
||||
The demo database will reset every **60** minutes. A maximum of 250 clients can exist in the demo database.
|
||||
|
||||
The following default clients and api keys can be used:
|
||||
|
||||
@@ -382,4 +382,4 @@ components:
|
||||
pattern: "^(((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(.(?!$)|$)){4})?$"
|
||||
externalDocs:
|
||||
description: "<rynDNS source code>"
|
||||
url: "https://git.pdev.dev/pdev/ryndns"
|
||||
url: "https://git.pdev.dev/pascal/ryndns"
|
||||
|
||||
0
data/.keep
Normal file
0
data/.keep
Normal file
@@ -5,8 +5,8 @@ services:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
USER_UID: ${UID_PROXY:-12001}
|
||||
USER_GID: ${UID_PROXY:-12001}
|
||||
USER_UID: ${UID_PROXY:-$EUID}
|
||||
USER_GID: ${UID_PROXY:-$EUID}
|
||||
environment:
|
||||
# set to run app in subdirectory
|
||||
RAILS_RELATIVE_URL_ROOT: /rynDNS
|
||||
|
||||
Reference in New Issue
Block a user