Go to file
casjay 2becf486f2
Some checks failed
php-7 / release-image (push) Failing after 2m57s
php-latestr / release-image (push) Successful in 1h10m3s
php-8 / release-image (push) Successful in 1h12m33s
🗃️ Committing everything that changed 🗃️
.gitea/workflows/docker.7.yaml
.gitea/workflows/docker.8.yaml
.gitea/workflows/docker.yaml
rootfs/root/docker/setup/06-post.sh
tmp/etc/php.ini
tmp/etc/php/php.ini
2024-11-19 13:42:42 -05:00
.gitea/workflows 🗃️ Committing everything that changed 🗃️ 2024-11-19 13:42:42 -05:00
rootfs 🗃️ Committing everything that changed 🗃️ 2024-11-19 13:42:42 -05:00
tmp/etc 🗃️ Committing everything that changed 🗃️ 2024-11-19 13:42:42 -05:00
.dockerignore 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00
.env.scripts 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00
.env.scripts.7 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00
.env.scripts.8 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00
.gitattributes 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00
.gitignore 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00
Dockerfile 🗃️ Committing everything that changed 🗃️ 2024-10-11 13:42:52 -04:00
Dockerfile.7 🗃️ Committing everything that changed 🗃️ 2024-10-11 13:42:52 -04:00
Dockerfile.8 🗃️ Committing everything that changed 🗃️ 2024-10-11 13:42:52 -04:00
LICENSE.md 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00
README.md 🦈🏠🐜 Initial Commit 🐜🦈🏠 2024-10-09 10:53:02 -04:00

👋 Welcome to php 🚀

Description

Install my system scripts

 sudo bash -c "$(curl -q -LSsf "https://github.com/systemmgr/installer/raw/main/install.sh")"
 sudo systemmgr --config && sudo systemmgr install scripts  

Automatic install/update

dockermgr update php

Install and run container

mkdir -p "$HOME/.local/share/srv/docker/php/rootfs"
git clone "https://github.com/dockermgr/php" "$HOME/.local/share/CasjaysDev/dockermgr/php"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/php/rootfs/." "$HOME/.local/share/srv/docker/php/rootfs/"
docker run -d \
--restart always \
--privileged \
--name casjaysdevdocker-php \
--hostname php \
-e TZ=${TIMEZONE:-America/New_York} \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-php/rootfs/data:/data:z" \
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-php/rootfs/config:/config:z" \
-p 80:80 \
casjaysdevdocker/php:latest

via docker-compose

version: "2"
services:
  ProjectName:
    image: casjaysdevdocker/php
    container_name: casjaysdevdocker-php
    environment:
      - TZ=America/New_York
      - HOSTNAME=php
    volumes:
      - "$HOME/.local/share/srv/docker/casjaysdevdocker-php/rootfs/data:/data:z"
      - "$HOME/.local/share/srv/docker/casjaysdevdocker-php/rootfs/config:/config:z"
    ports:
      - 80:80
    restart: always

Get source files

dockermgr download src casjaysdevdocker/php

OR

git clone "https://github.com/casjaysdevdocker/php" "$HOME/Projects/github/casjaysdevdocker/php"

Build container

cd "$HOME/Projects/github/casjaysdevdocker/php"
buildx 

Authors

🤖 casjay: Github 🤖
casjaysdevdocker: Github Docker