This commit is contained in:
parent
9f5bb8ce9f
commit
ec46bf2884
4 changed files with 29 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
user = nobody
|
user = nobody
|
||||||
group = nobody
|
group = nobody
|
||||||
listen = /var/run/php-fpm.sock
|
listen = 9001
|
||||||
pm = dynamic
|
pm = dynamic
|
||||||
pm.max_children = 5
|
pm.max_children = 5
|
||||||
pm.start_servers = 2
|
pm.start_servers = 2
|
|
@ -1,2 +1,26 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
podman pod create \
|
||||||
|
--label "io.containers.autoupdate=registry" \
|
||||||
|
--name futtern \
|
||||||
|
-p 8087:8087
|
||||||
|
|
||||||
|
podman run -d \
|
||||||
|
--pod futtern \
|
||||||
|
--name php \
|
||||||
|
git.php.fail/lubiana/container/php:8.3-fpm
|
||||||
|
|
||||||
|
podman run -d \
|
||||||
|
--pod futtern \
|
||||||
|
--name caddy \
|
||||||
|
--volume
|
||||||
|
docker.io/caddy/caddy:alpine
|
||||||
|
|
||||||
|
podman genereate systemd \
|
||||||
|
--files \
|
||||||
|
--name futtern \
|
||||||
|
--restart-policy=always \
|
||||||
|
-t 10
|
||||||
|
|
||||||
|
mkdir -p ${HOME}/.config/systemd/user
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
if [ -d "temp-deploy" ]; then
|
if [ -d "futter-app" ]; then
|
||||||
rm -rf temp-deploy
|
rm -rf futtern-app
|
||||||
fi
|
fi
|
||||||
mkdir temp-deploy
|
mkdir futtern-app
|
||||||
cd temp-deploy || return
|
cd futtern-app || return
|
||||||
|
|
||||||
pathsToCopy="public bin config migrations src templates composer.json composer.lock symfony.lock .env etc"
|
pathsToCopy="public bin config migrations src templates composer.json composer.lock symfony.lock .env etc"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue