mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
26 lines
609 B
YAML
26 lines
609 B
YAML
services:
|
|
web:
|
|
image: busybox:1.37.0-uclibc
|
|
command: ["sleep", "600"]
|
|
configs:
|
|
- source: from-file
|
|
target: /etc/config-from-file.conf
|
|
mode: 0644
|
|
- source: from-inline
|
|
target: /etc/config-inline.conf
|
|
uid: "1000"
|
|
gid: "1000"
|
|
mode: 0600
|
|
# Writing a config to a new, non-existent directory
|
|
- source: from-file
|
|
target: /etc/new-dir/config-from-file.conf
|
|
mode: 0644
|
|
deploy:
|
|
replicas: 1
|
|
configs:
|
|
from-file:
|
|
file: ./configs/test-config.conf
|
|
from-inline:
|
|
content: |
|
|
this is inline config
|