Fix inline configs and secrets in registry Compose deployment
This commit is contained in:
@@ -31,6 +31,8 @@ x-environment: &environment
|
||||
services:
|
||||
initialize:
|
||||
<<: *runtime
|
||||
# Compose copies configs.content into the container before starting it.
|
||||
read_only: false
|
||||
entrypoint: [python, /app/bootstrap.py]
|
||||
command: []
|
||||
user: "0:0"
|
||||
@@ -52,6 +54,8 @@ services:
|
||||
|
||||
homegate:
|
||||
<<: *runtime
|
||||
# Compose requires a writable root filesystem for secrets.environment.
|
||||
read_only: false
|
||||
depends_on:
|
||||
initialize:
|
||||
condition: service_completed_successfully
|
||||
@@ -98,6 +102,8 @@ services:
|
||||
|
||||
ui:
|
||||
<<: *runtime
|
||||
# Compose requires a writable root filesystem for secrets.environment.
|
||||
read_only: false
|
||||
entrypoint: [python, /app/homegate_ui.py]
|
||||
command: []
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user