Skip to content

Commit

Permalink
add settings to phoebus
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Jun 30, 2024
1 parent 6a92cce commit 619d7ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 11 additions & 6 deletions services/phoebus/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
environment:
DISPLAY: $DISPLAY
tty: true
command: phoebus-product/phoebus.sh -resource /opi/index.bob
command: phoebus-product/phoebus.sh -settings /config/settings.ini -resource /opi/index.bob
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- ~/.Xauthority:/root/.Xauthority
Expand All @@ -18,12 +18,17 @@ services:
user: ${UIDGID}

# network host with a gateway for CA is the most reliable way to
# get X11 forwarding to work - even with ssh->container. But I need
# to work out how to configure ca-gateway with podman
# network_mode: host
networks:
- channel_access
# get X11 forwarding to work - even with ssh->container.
network_mode: host

configs:
- source: phoebus_config
target: /config

profiles:
- develop
- phoebus

configs:
phoebus_config:
file: ./config
2 changes: 2 additions & 0 deletions services/phoebus/config/settings.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# using localhost for channel access to isolate it to the host for development
org.phoebus.pv.ca/addr_list=127.0.0.1

0 comments on commit 619d7ad

Please sign in to comment.