Bryan Joshua Pedini
3b009f6c12
added ability to launch containers as root (as the repo would be owned by root, hence the `-a` made no difference), now the permission get set correctly
8 lines
146 B
Bash
Executable File
8 lines
146 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
cd /opt/nyx
|
|
docker compose stop nyx
|
|
cp default.db data/data/data.db
|
|
chown 1000:1000 data/data/data.db
|
|
docker compose start nyx
|