Use the OxiTraffic Docker image
This commit is contained in:
parent
dbeae8b1e3
commit
bff5981482
2 changed files with 8 additions and 8 deletions
|
@ -3,8 +3,6 @@
|
|||
set -l container_name oxitraffic
|
||||
set -l container_volumes_dir ~/volumes/$container_name
|
||||
|
||||
buildah build -t $container_name:latest ~/code/oxitraffic; or return 1
|
||||
|
||||
set -l db_container_name oxitraffic-db
|
||||
set -l db_env_file $container_volumes_dir/.postgres.env
|
||||
|
||||
|
@ -21,5 +19,7 @@ podman-default-create \
|
|||
podman-default-create \
|
||||
$container_name \
|
||||
--network traefik \
|
||||
-v $container_volumes_dir/data:/volumes/data:Z \
|
||||
localhost/$container_name:latest
|
||||
-v $container_volumes_dir/config.toml:/volumes/config.toml:Z,ro \
|
||||
-v $container_volumes_dir/logs:/var/log/oxitraffic:Z \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
docker.io/mo8it/oxitraffic:latest
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
set -l container_name oxitraffic-corrode-dev
|
||||
set -l container_volumes_dir ~/volumes/$container_name
|
||||
|
||||
buildah build -t $container_name:latest ~/code/oxitraffic; or return 1
|
||||
|
||||
set -l db_container_name oxitraffic-corrode-dev-db
|
||||
set -l db_env_file $container_volumes_dir/.postgres.env
|
||||
|
||||
|
@ -21,5 +19,7 @@ podman-default-create \
|
|||
podman-default-create \
|
||||
$container_name \
|
||||
--network traefik \
|
||||
-v $container_volumes_dir/data:/volumes/data:Z \
|
||||
localhost/$container_name:latest
|
||||
-v $container_volumes_dir/config.toml:/volumes/config.toml:Z,ro \
|
||||
-v $container_volumes_dir/logs:/var/log/oxitraffic:Z \
|
||||
--label "io.containers.autoupdate=registry" \
|
||||
docker.io/mo8it/oxitraffic:latest
|
||||
|
|
Loading…
Reference in a new issue