Move website to container
This commit is contained in:
parent
33ad7df5cc
commit
ef0f30568c
2 changed files with 10 additions and 11 deletions
10
containers/juna-li.fish
Executable file
10
containers/juna-li.fish
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
set -l container_name juna_li_com
|
||||
|
||||
buildah build --layers -t $container_name:latest ~/code/juna-li.com
|
||||
|
||||
podman-default-create \
|
||||
$container_name \
|
||||
--network traefik \
|
||||
localhost/$container_name:latest
|
|
@ -1,11 +0,0 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name juna-li.com;
|
||||
|
||||
location / {
|
||||
root /volumes/sites/juna-li.com;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
error_page 404 /404.html;
|
||||
}
|
Loading…
Add table
Reference in a new issue