Move website to container

This commit is contained in:
Mo 2023-03-25 20:52:59 +01:00
parent 33ad7df5cc
commit ef0f30568c
2 changed files with 10 additions and 11 deletions
containers
volumes/nginx/conf.d

10
containers/juna-li.fish Executable file
View 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

View file

@ -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;
}