This is for managing php and Apache.
Create an environment file for docker and docker compose and check the configuration.
cp default.env .envNote: This file will not be under version control but listed in .gitignore.
Check for the existence of environment.prod.ts as described in publicmedia - frontend.
Check for the existence of config.prod.php as described in publicmedia - api.
Defines the port for APCHE
- default:
80 - type:
string
Defines the mode using php
- default:
dev - type:
string
To work with the compose file use following commands.
# run compose file
docker compose up -d
# stop compose file
docker compose down