• Stars
    star
    1,647
  • Rank 28,377 (Top 0.6 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 3 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿณ Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!

Docker Images Logo

Build Status License Support us
Docker Pulls Discourse users Discord

Hi! We're Dan and Jay. We're a two person team with a passion for open source products. We created Server Side Up to help share what we learn.

Find us at:

  • ๐Ÿ“– Blog - get the latest guides and free courses on all things web/mobile development.
  • ๐Ÿ™‹ Community - get friendly help from our community members.
  • ๐Ÿคตโ€โ™‚๏ธ Get Professional Help - get guaranteed responses within next business day.
  • ๐Ÿ’ป GitHub - check out our other open source projects
  • ๐Ÿ“ซ Newsletter - skip the algorithms and get quality content right to your inbox
  • ๐Ÿฅ Twitter - you can also follow Dan and Jay
  • โค๏ธ Sponsor Us - please consider sponsoring us so we can create more helpful resources

Our Sponsors

All of our software is free an open to the world. None of this can be brought to you without the financial backing of our sponsors.

Sponsors

Individual Supporters

deligoezย ย alexjustesenย ย jeremykenedyย ย 

Available Docker Images

This is a list of the docker images this repository creates:

โš™๏ธ Variation ๐Ÿš€ Version
cli serversideup/php:8.2-cli
serversideup/php:8.1-cli
serversideup/php:8.0-cli
serversideup/php:7.4-cli
fpm serversideup/php:8.2-fpm
serversideup/php:8.1-fpm
serversideup/php:8.0-fpm
serversideup/php:7.4-fpm
fpm-apache serversideup/php:8.2-fpm-apache
serversideup/php:8.1-fpm-apache
serversideup/php:8.0-fpm-apache
serversideup/php:7.4-fpm-apache
fpm-nginx serversideup/php:8.2-fpm-nginx
serversideup/php:8.1-fpm-nginx
serversideup/php:8.0-fpm-nginx
serversideup/php:7.4-fpm-nginx

Usage

Simply use this image name pattern in any of your projects:

serversideup/php:{{version}}-{{variation-name}}

For example... If I wanted to run PHP 8.0 with FPM + NGINX, I would use this image:

serversideup/php:8.0-fpm-nginx

Real-life working example

You can see a bigger picture on how these images are used from Development to Production by viewing this video that shows a high level overview how we deploy "ROAST" which is a demo production app for our book.

Click the image below to view the video:

Laravel + NuxtJS From Dev to production

Updates

โœ… The image builds automatically run weekly (Tuesday at 0800 UTC) for latest security updates.

Why these images and not other ones?

These images have a few key differences. These images are:

๐Ÿš€ These images are used in production

Our philosophy is: What you run in production is what you should be running in development.

You'd be shocked how many people create a Docker image and use it in the local development only. These images are designed with the intention of being deployed to the open and wild Internet.

๐Ÿง Based off of S6 Overlay

S6 Overlay is very helpful in managing a container's lifecycle that has multiple processes.

Wait... Isn't Docker supposed to be a "single process per container"? Yes, that's what it's like in a perfect world. Unfortunately PHP isn't like that. You need both a web server and a PHP-FPM server to see your files in order for your application to load.

We follow the S6 Overlay Philosophy on how we can still get a single, disposable, and repeatable image of our application out to our servers.

๐Ÿคฉ See all the differences

If you're looking to understand more the key differences with these PHP images, check out our documentation site.

Read more about the key differences with these images โ†’

Documentation

We have everything fully documented and available on our website. If you find an issue, everything is located under the /docs folder or the /docs/content folder if you're looking to submit a change to the documentation.

View the Documentation โ†’

Submitting issues and pull requests

Since there are a lot of dependencies on these images, please understand that it can make it complicated on merging your pull request.

We'd love to have your help, but it might be best to explain your intentions first before contributing.

Like we said -- we're always learning

If you find a critical security flaw, please open an issue or learn more about our responsible disclosure policy.

More Repositories

1

amplitudejs

AmplitudeJS: Open Source HTML5 Web Audio Library. Design your web audio player, the way you want. No dependencies required.
JavaScript
4,035
star
2

financial-freedom

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ An open source alternative to Mint, YNAB, and more. Stay on budget and build wealth without sacrificing your privacy.
Vue
1,866
star
3

webext-bridge

๐Ÿ’ฌ Messaging in Web Extensions made easy. Batteries included.
TypeScript
521
star
4

roastandbrew

Updated content available! We learned a lot since we originally wrote this article. We now have this updated for Laravel 8, Vue, and NuxtJS ๐Ÿ‘‰ https://srvrsi.de/book
Vue
301
star
5

spin

Replicate your production environment locally using Docker. Just run "spin up". It's really that easy.
Shell
96
star
6

uploading-files-vuejs-axios

Contains all of the example components to upload files with VueJS and Axios.
Vue
48
star
7

docker-ssh

Simple SSH container. Great for secure connections into clusters.
Dockerfile
37
star
8

ansible-vault-automator

Easily encrypt, edit, and decrypt files through Finder (rather than command line). When you choose to edit an encrypted file, you can edit it directly in Sublime Text 3 instead of nano or vim.
Shell
21
star
9

ansible-postal

โšก๏ธ Deploy a secure Postal server in under 6 minutes using Ansible.
Shell
18
star
10

docker-wordpress

Learn how to run WordPress with Docker. Read about our experiences and start off with an easy boilerplate.
PHP
17
star
11

s6-overlay

This project serves as a base image for other containers. It includes Ubuntu with S6 overlay.
Dockerfile
16
star
12

airlock-nuxt-frontend

NuxtJS implementation with NuxtJS auth module to work with Laravel Airlock API. The Laravel API is here: https://github.com/serversideup/airlock-laravel-api
Vue
14
star
13

self-hosted-email-guide

This guide makes self-hosting email easy. Maintain control and protect your privacy.
Vue
12
star
14

wp-dev-recipes

Modular, reusable code snippets for all WordPress devs.
Vue
11
star
15

airlock-laravel-api

Updated content available! Check out our book on how to authenticate securely ๐Ÿ‘‰ https://srvrsi.de/book
PHP
9
star
16

fetch-api-vuejs

Examples on handling API requests with the Fetch API and VueJS
Vue
8
star
17

ansible-role-linux-common

A simple playbook to secure your server, prep your users, and prepare your server for other uses.
Shell
6
star
18

ipaddress-fyi

Easily control access to the Internetโ€™s most popular services
JavaScript
6
star
19

amplitudejs-player-examples

HTML
6
star
20

wp-sandbox

A Wordpress Coming soon page for developers that does not interfere with your testing.
PHP
6
star
21

github-action-docker-build

Build and publish docker images automatically with GitHub Actions โšก๏ธ
4
star
22

laravel-auth-api

API Boilerplate for SPA authentication using Laravel Sanctum and NuxtJS
PHP
3
star
23

spin-site

JavaScript
2
star
24

github-action-docker-swarm-deploy

2
star
25

spin-laravel-example

PHP
2
star
26

media-temple-amazon-s3-backup-for-dedicated-virtu

A GIT book that is a comprehensive guide to installing, configuring, and automating Media Temple backups to Amazon S3.
JavaScript
2
star
27

vue-3-vuex-4-queue

Client side queue example using Vue 3 and Vuex 4.
Vue
1
star
28

tailwindcss-mobile-utilities

Quickly give your app a native feel using Tailwind Utility Classes.
1
star
29

laravel-auth-frontend

The NuxtJS Frontend Boilerplate for Authentication
Vue
1
star
30

amplitudejs-site

Vue
1
star
31

docker-utility

A super small, but super powerful docker image for CI processes.
Dockerfile
1
star
32

ansible-role-swarm

1
star