Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cesurapp/php-ubuntu
PHP-Nginx-Cron-Runit Ubuntu Docker Image
https://github.com/cesurapp/php-ubuntu
docker nginx nginx-docker php-ubuntu ubuntu
Last synced: about 1 month ago
JSON representation
PHP-Nginx-Cron-Runit Ubuntu Docker Image
- Host: GitHub
- URL: https://github.com/cesurapp/php-ubuntu
- Owner: cesurapp
- Created: 2020-05-17T01:29:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T01:49:57.000Z (over 4 years ago)
- Last Synced: 2024-11-08T09:27:11.022Z (3 months ago)
- Topics: docker, nginx, nginx-docker, php-ubuntu, ubuntu
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Ubuntu
PHP Version: 7.4 - appaydin/php-ubuntu
The default directory /var/www is set to port 80.
Installed Applications: Nginx - PHP7.4 - Crontab - Runit - SSH
For detailed documentation, [See](https://github.com/phusion/baseimage-docker) here.
### Example Application:
docker-compose:
```yaml
version: '3'services:
php:
build: .
#volumes:
#- ./cron.d:/etc/cron.d
#- ./service.d:/etc/service.d
#- ./nginx.conf:/etc/nginx/nginx.conf
#- ./php.ini:/etc/php/7.4/fpm/conf.d/php.ini
#- ./php-fpm.conf:/etc/php/7.4/fpm/pool.d/www-data
```### Example Service:
/service.d/nginx:
```shell
#!/bin/sh
exec nginx >> /var/log/nginx.log 2>&1
```