[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:
2021-03-04 13:07:28 -05:00
parent d5b1006d2a
commit a0ff5cdebb
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ info:
description: "Simple dynDNS via Rest-API. 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: 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})?$" pattern: "^(((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(.(?!$)|$)){4})?$"
externalDocs: externalDocs:
description: "<rynDNS source code>" description: "<rynDNS source code>"
url: "https://git.pdev.dev/pdev/ryndns" url: "https://git.pdev.dev/pascal/ryndns"

0
data/.keep Normal file
View File

View File

@@ -5,8 +5,8 @@ services:
build: build:
context: . context: .
args: args:
USER_UID: ${UID_PROXY:-12001} USER_UID: ${UID_PROXY:-$EUID}
USER_GID: ${UID_PROXY:-12001} USER_GID: ${UID_PROXY:-$EUID}
environment: environment:
# set to run app in subdirectory # set to run app in subdirectory
RAILS_RELATIVE_URL_ROOT: /rynDNS RAILS_RELATIVE_URL_ROOT: /rynDNS