30 lines
648 B
YAML
30 lines
648 B
YAML
services:
|
|
device-control-core:
|
|
image: nodedc/device-control-core:local
|
|
environment:
|
|
EXISTING: synthetic-preserved
|
|
volumes:
|
|
- type: bind
|
|
source: /synthetic/existing-secret-reference
|
|
target: /run/existing-secret-reference
|
|
read_only: true
|
|
bind:
|
|
create_host_path: false
|
|
networks:
|
|
private:
|
|
priority: 100
|
|
egress:
|
|
priority: 0
|
|
device-postgres:
|
|
image: postgres:16
|
|
volumes:
|
|
- type: volume
|
|
source: existing-data
|
|
target: /var/lib/postgresql/data
|
|
networks:
|
|
private:
|
|
internal: true
|
|
egress: {}
|
|
volumes:
|
|
existing-data: {}
|