|
@@ -1,9 +1,10 @@
|
|
# Docker startup helper scripts
|
|
# Docker startup helper scripts
|
|
|
|
|
|
-`startup.sh` starts/stops/pulls all containers expected to run on the current host.
|
|
|
|
|
|
+`startup.sh` starts/stops/pulls all containers expected to run on a docker host.
|
|
The script expects a list of absolut paths to docker-compose.yml files in /opt/docker/startup/conf/$HOSTNAME.
|
|
The script expects a list of absolut paths to docker-compose.yml files in /opt/docker/startup/conf/$HOSTNAME.
|
|
|
|
|
|
-`container-startup.service` is a oneshot systemd service which runs `startup.sh up`.
|
|
|
|
|
|
+`container-startup.service` is a oneshot systemd service which runs `startup.sh up` after boot. Stop/restart are explicitely not part of the service as those actions are [handled by the docker daemon](https://docs.docker.com/config/containers/start-containers-automatically/).
|
|
|
|
+
|
|
To install the service run:
|
|
To install the service run:
|
|
```
|
|
```
|
|
cp container-startup.service /etc/systemd/system/
|
|
cp container-startup.service /etc/systemd/system/
|