Add Oxiform containers
This commit is contained in:
parent
d4a04b0f02
commit
a007188aa4
2 changed files with 23 additions and 0 deletions
containers
11
containers/oxiform.fish
Executable file
11
containers/oxiform.fish
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
set -l container_name oxiform
|
||||||
|
set -l container_volume ~/code/oxiform_website
|
||||||
|
|
||||||
|
podman-default-create \
|
||||||
|
$container_name \
|
||||||
|
--network traefik \
|
||||||
|
-v $container_volume:/usr/share/nginx/html:Z,ro \
|
||||||
|
--label "io.containers.autoupdate=registry" \
|
||||||
|
docker.io/library/nginx:alpine
|
12
containers/oxiform_oxiform.fish
Executable file
12
containers/oxiform_oxiform.fish
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
set -l container_name oxiform-oxiform
|
||||||
|
set -l container_volumes_dir ~/volumes/$container_name
|
||||||
|
|
||||||
|
buildah build --layers -t $container_name:latest ~/code/oxiform
|
||||||
|
|
||||||
|
podman-default-create \
|
||||||
|
$container_name \
|
||||||
|
--network traefik \
|
||||||
|
-v $container_volumes_dir:/volumes/data:Z \
|
||||||
|
localhost/$container_name:latest
|
Loading…
Add table
Reference in a new issue