[add] added docker
This commit is contained in:
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
ryndns:
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
USER_UID: ${UID_PROXY:-12001}
|
||||
USER_GID: ${UID_PROXY:-12001}
|
||||
environment:
|
||||
# set to run app in subdirectory
|
||||
RAILS_RELATIVE_URL_ROOT: /rynDNS
|
||||
# set custom api key prefix
|
||||
#API_KEY_PREFIX: zW3If4s5
|
||||
# set custom header name for api key
|
||||
#API_KEY_HEADER: X-API-Key
|
||||
# set to reset the admin account
|
||||
#RAILS_RESET_ADMIN: 1
|
||||
# set app to run as demo
|
||||
#RAILS_API_DEMO: 1
|
||||
# set cycle to reset demo data
|
||||
#RAILS_DEMO_RESET: 300
|
||||
restart: always
|
||||
image: ryndns
|
||||
container_name: ryndns
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ryndns:/app/data
|
||||
|
||||
volumes:
|
||||
ryndns:
|
||||
Reference in New Issue
Block a user