CUB-114: Update Pi 5 kiosk deployment for Go + React stack
All checks were successful
Dev Build / build-test (pull_request) Successful in 1m22s
All checks were successful
Dev Build / build-test (pull_request) Successful in 1m22s
This commit is contained in:
16
systemd/extrudex.service
Normal file
16
systemd/extrudex.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Extrudex Docker Compose Stack (Go + React)
|
||||
After=network-online.target docker.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
WorkingDirectory=/home/pi/extrudex
|
||||
ExecStart=/usr/bin/docker compose -f docker-compose.dev.yml up -d
|
||||
ExecStop=/usr/bin/docker compose -f docker-compose.dev.yml down
|
||||
TimeoutStartSec=120
|
||||
TimeoutStopSec=120
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user