Add advlabdb
This commit is contained in:
parent
069ef00777
commit
6a8920f127
2 changed files with 31 additions and 0 deletions
containers
19
containers/advlabdb.fish
Executable file
19
containers/advlabdb.fish
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
set -l container_name advlabdb
|
||||||
|
set -l container_volumes_dir ~/volumes/$container_name
|
||||||
|
set -l repo_dir ~/code/advlabdb
|
||||||
|
|
||||||
|
if systemctl --user is-enabled container-$container_name
|
||||||
|
systemctl --user disable --now container-$container_name
|
||||||
|
end
|
||||||
|
|
||||||
|
cd $repo_dir
|
||||||
|
buildah build --layers -t $container_name:latest
|
||||||
|
|
||||||
|
podman-default-create \
|
||||||
|
$container_name \
|
||||||
|
--network traefik \
|
||||||
|
-v $container_volumes_dir/data:/volumes/data:Z \
|
||||||
|
-v $container_volumes_dir/logs:/volumes/logs:Z \
|
||||||
|
localhost/$container_name:latest
|
12
containers/veloren.fish
Executable file
12
containers/veloren.fish
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
set -l container_name veloren
|
||||||
|
set -l container_volumes_dir ~/volumes/$container_name
|
||||||
|
|
||||||
|
podman-default-create \
|
||||||
|
$container_name \
|
||||||
|
-p 14004:14004 \
|
||||||
|
-p 14005:14005 \
|
||||||
|
-v $container_volumes_dir/userdata:/opt/userdata:Z \
|
||||||
|
--label "io.containers.autoupdate=registry" \
|
||||||
|
registry.gitlab.com/veloren/veloren/server-cli:weekly
|
Loading…
Add table
Reference in a new issue