mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
fix: use the PWD environment variable in docker-compose files
This commit is contained in:
@@ -24,9 +24,8 @@ services:
|
|||||||
- video
|
- video
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/resolv.conf:/etc/resolv.conf:ro
|
- /etc/resolv.conf:/etc/resolv.conf:ro
|
||||||
- ./data:/var/lib/boinc
|
- ${PWD}/data:/var/lib/boinc
|
||||||
environment:
|
environment:
|
||||||
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
||||||
- BOINC_GUI_RPC_PASSWORD=123
|
- BOINC_GUI_RPC_PASSWORD=123
|
||||||
- BOINC_REMOTE_HOST=192.168.1.1
|
|
||||||
- TZ=Europe/Dublin
|
- TZ=Europe/Dublin
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
- /dev/dri:/dev/dri
|
- /dev/dri:/dev/dri
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/resolv.conf:/etc/resolv.conf:ro
|
- /etc/resolv.conf:/etc/resolv.conf:ro
|
||||||
- ./data:/var/lib/boinc
|
- ${PWD}/data:/var/lib/boinc
|
||||||
environment:
|
environment:
|
||||||
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
||||||
- BOINC_GUI_RPC_PASSWORD=123
|
- BOINC_GUI_RPC_PASSWORD=123
|
||||||
|
|||||||
@@ -15,9 +15,8 @@ services:
|
|||||||
network_mode: host
|
network_mode: host
|
||||||
pid: host
|
pid: host
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/lib/boinc
|
- ${PWD}/data:/var/lib/boinc
|
||||||
environment:
|
environment:
|
||||||
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
||||||
- BOINC_GUI_RPC_PASSWORD=123
|
- BOINC_GUI_RPC_PASSWORD=123
|
||||||
- BOINC_REMOTE_HOST=192.168.1.1
|
|
||||||
- TZ=Europe/Dublin
|
- TZ=Europe/Dublin
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
syncthing:
|
syncthing:
|
||||||
image: syncthing/syncthing:1.27.2
|
image: syncthing/syncthing:1.27.3
|
||||||
container_name: syncthing
|
container_name: syncthing
|
||||||
hostname: ${HOSTNAME}
|
hostname: ${HOSTNAME}
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=100
|
- PGID=100
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/var/syncthing/config
|
- ${PWD}/config:/var/syncthing/config
|
||||||
- ./data:/var/syncthing/data
|
- ${PWD}/data:/var/syncthing/data
|
||||||
network_mode: host
|
network_mode: host
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ docker run -d --name 'boinc' --network='host' --pid='host' -v 'boinc:/var/lib/bo
|
|||||||
|
|
||||||
# Gracefully stop containers.
|
# Gracefully stop containers.
|
||||||
docker stop 'alpine-test'
|
docker stop 'alpine-test'
|
||||||
docker stop 'bdbe3f45'
|
docker stop -t '0' 'bdbe3f45'
|
||||||
|
|
||||||
# Kill containers.
|
# Kill containers.
|
||||||
docker kill 'alpine-test'
|
docker kill 'alpine-test'
|
||||||
|
|||||||
Reference in New Issue
Block a user