- Add internet output routing option on run time execution,
- Fix application args passing.
This commit is contained in:
23
compose.yaml
23
compose.yaml
@@ -30,11 +30,26 @@ services:
|
||||
source: /run/user/${USER_ID}/pulse
|
||||
target: /run/user/${USER_ID}/pulse
|
||||
- type: bind
|
||||
source: ${APPL_HOME_DIR}
|
||||
target: ${APPL_HOME_DIR}
|
||||
source: ${APPL_DIR}
|
||||
target: ${APPL_DIR}
|
||||
|
||||
networks:
|
||||
# - internet
|
||||
# - no-internet
|
||||
- ${APPL_NETWORK}
|
||||
|
||||
|
||||
network_mode: bridge
|
||||
|
||||
volumes:
|
||||
home_dir:
|
||||
external: true
|
||||
|
||||
|
||||
networks:
|
||||
internet:
|
||||
driver: bridge
|
||||
internal: false # Allow internet access
|
||||
|
||||
no-internet:
|
||||
driver: bridge
|
||||
internal: true # Block internet access
|
||||
|
||||
Reference in New Issue
Block a user