-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
134 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
set -e -o pipefail | ||
#set -e -o pipefail | ||
|
||
OPTIND=1 | ||
while getopts ":f:" opt; do | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[Unit] | ||
Description=DockerUI Service | ||
After=docker.service | ||
Requires=docker.service | ||
|
||
[Service] | ||
User=core | ||
TimeoutStartSec=0 | ||
EnvironmentFile=/etc/environment | ||
ExecStartPre=-/usr/bin/docker pull dockerui/dockerui:latest | ||
ExecStartPre=-/usr/bin/docker rm dockerui | ||
ExecStart=/usr/bin/docker run --rm --name dockerui --memory="128m" \ | ||
-p 9000:9000 \ | ||
-v /var/run/docker.sock:/docker.sock \ | ||
dockerui/dockerui -e /docker.sock | ||
# | ||
ExecStop=/usr/bin/docker stop dockerui | ||
ExecStopPost=-/usr/bin/docker rm dockerui | ||
|
||
Restart=always | ||
RestartSec=10s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[Unit] | ||
Description=fleet-ui | ||
After=docker.service | ||
Requires=docker.service | ||
|
||
[Service] | ||
User=core | ||
TimeoutStartSec=0 | ||
EnvironmentFile=/etc/network-environment | ||
ExecStartPre=-/usr/bin/docker pull purpleworks/fleet-ui:latest | ||
ExecStartPre=-/usr/bin/docker rm fleet_ui | ||
ExecStart=/usr/bin/docker run --rm --name fleet_ui --memory="128m" \ | ||
-p 3000:3000 -e ETCD_PEER=http://172.17.42.1:2379 \ | ||
-v /home/core/.ssh/id_rsa:/root/id_rsa \ | ||
purpleworks/fleet-ui | ||
# | ||
ExecStop=/usr/bin/docker stop fleet_ui | ||
ExecStopPost=-/usr/bin/docker rm fleet_ui | ||
|
||
TimeoutStartSec=900s | ||
Restart=always | ||
RestartSec=10s | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.