Sign inSign up

peckadesign/php

By peckadesign

•Updated about 2 years ago

Docker PHP

Image
0

100K+

peckadesign/php repository overview

⁠Docker

⁠Requirements

⁠Docker

https://www.docker.com/community-edition#/download⁠

⁠Docker Compose

https://docs.docker.com/compose/install/⁠

⁠Nginx-proxy

https://github.com/peckadesign/Docker/blob/master/docs/01_nginx_proxy.md⁠

⁠HTTPS

https://github.com/peckadesign/Docker/blob/master/docs/02_https.md⁠

⁠Configuring

⁠Docker
  1. Use test configuration $ cp docker-compose.override.test.yml docker-compose.override.yml
  2. To be able to acces our private docker images you need to docker login (with account credentials from https://hub.docker.com⁠)
⁠DNS

https://github.com/peckadesign/Docker/blob/master/docs/03_dns.md⁠

⁠Composer
  1. Create GitHub access token at https://github.com/settings/tokens/new?scopes=repo&description=COMPOSER_AUTH_TOKEN⁠
  2. Replace $COMPOSER_AUTH_TOKEN in docker-compose.override.yml by token generated in previous step.
⁠Application
  1. You need to include docker.neon configuration file in your local.neon
includes:
	- docker.neon

⁠Running

Now run application $ docker-compose up (first run takes longer).

When everything is up and ready you can access any VIRTUAL_HOST in browser.

Use $ docker-compose down to shut down all application containers.

⁠Docker sync

https://github.com/peckadesign/Docker/blob/master/docs/04_docker_sync.md⁠

⁠Popis struktury konfiguračních souborů docker-compose

https://github.com/peckadesign/Docker/blob/master/docs/05_docker_compose_soubory.md⁠

Tag summary

Content type

Image

Digest

sha256:56e4d8058…

Size

351.2 MB

Last updated

about 2 years ago

docker pull peckadesign/php:8.3-p7project-dev