refactor
This commit is contained in:
1
image/overlay/etc/conf.d/auth-server
Normal file
1
image/overlay/etc/conf.d/auth-server
Normal file
@@ -0,0 +1 @@
|
||||
GITEA_TOKEN=_BUBBLE_AUTH_GITEA_KEY_
|
||||
1
image/overlay/etc/hostname
Normal file
1
image/overlay/etc/hostname
Normal file
@@ -0,0 +1 @@
|
||||
_CLOUD_HOSTNAME_
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/sbin/openrc-run
|
||||
command="/usr/bin/auth-server"
|
||||
command_background=true
|
||||
command_args="-addr 0.0.0.0:8080 -root /users"
|
||||
command_args="-org _BUBBLE_AUTH_ORG_ -team _BUBBLE_AUTH_TEAM_ -gitea-url _BUBBLE_AUTH_GITEA_URL_"
|
||||
command_user="keeper"
|
||||
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
9
image/overlay/etc/init.d/tsdns
Executable file
9
image/overlay/etc/init.d/tsdns
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
need docker net
|
||||
}
|
||||
|
||||
command="/usr/bin/tsdns"
|
||||
command_background=true
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
7
image/overlay/etc/init.d/update-images
Executable file
7
image/overlay/etc/init.d/update-images
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
need docker net
|
||||
}
|
||||
|
||||
command="/usr/bin/update-images"
|
||||
@@ -3,4 +3,4 @@ iface lo inet loopback
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet dhcp
|
||||
post-up ip route del default || true; ip route add default via GATEWAY_ADDRESS
|
||||
post-up ip route del default || true; ip route add default via _CLOUD_GATEWAY_ADDRESS_
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Port _HOST_SSH_PORT_
|
||||
Reference in New Issue
Block a user