c86c5329b6e744850457cb3418b062b2d5553792
PHP / LEMP
Coöp Cloud + PHP + MariaDB + Nginx = 🥳
- Category: Apps
- Status: ❶💚
- Image:
php, ❶💚, upstream - Healthcheck: Yes
- Backups: Yes
- Email: ❶💚
- Tests: ❷💛
- SSO: No
Basic usage
- Set up Docker Swarm and
abra - Deploy
coop-cloud/traefik abra app new lemp --secrets(optionally with--passif you'd like to save secrets inpass)abra app YOURAPPDOMAIN config- be sure to change$DOMAINto something that resolves to your Docker swarm boxabra app YOURAPPDOMAIN deploy- Copy your site files using something like:
abra app YOURAPPDOMAIN cp index.html app:/var/www/html/or if you want to copy an entire directory:tar cf - ./mysite | abra app YOURAPPDOMAIN cp - app:/var/www/html/ - Use restore functionality to import a SQL file into the db
- Open the configured domain in your browser to check all is good
There is a local or remote SMTP relay configuration available.
- local:
COMPOSE_FILE=compose.yml:compose.mailrelay.yml - remote:
COMPOSE_FILE=compose.yml:compose.mailrelay.yml:compose.smtp.yml
Below are the instructions for the local relay.
- Deploy
postfix-relay abra app YOURAPPDOMAIN config, and uncomment the email lines; changeMAIL_FROMto make sure the domain is the same aspostfix-relay's$DOMAINor in its$EXTRA_SENDER_DOMAINSabra app YOURAPPDOMAIN deploy
Languages
Shell
100%