Skip to content
/ symfony-dockerized Public template

Symfony Application with RoadRunner packaged to Docker. ๐Ÿ”Œ + ๐Ÿ‹ = ๐Ÿ’•

License

Notifications You must be signed in to change notification settings

loperd/symfony-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

350d52b ยท Jan 12, 2020

History

3 Commits
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020
Jan 12, 2020

Repository files navigation

Symfony Application in Docker

This repository contains the standard Symfony application, packaged in Docker containers with the ability to run using Docker-Compose.


When creating this project, I was inspired by this article https://habr.com/en/post/461687/


Stack:

Installation

Clone the repository

git clone https://github.com/renay/symfony-docerized

Usage

Need to build base image:

bash ./docker/php/build.sh -t app/php:0.1.0 # 0.1.0 as default version

After you need to build an application image:

bash ./docker/app/build.sh -t app/app:0.1.0 -m [--mode] 'dev' # 0.1.0 as default version

And you need to lift all the containers:

docker-compose up -d

That's all. Now you can get to work ๐Ÿ˜Š

Options

Name Accepted Values Example Description
-m or --mode dev or prod dev This argument indicates which Dockerfile to use for the build environment (Dockerfile.dev or Dockerfile.prod).
-t name:tag app/{container}:{version} Name and optionally a tag in the โ€˜name:tagโ€™ format.

May accept other options from https://docs.docker.com/engine/reference/commandline/build/

Contributing

Soon...

Documentation

Coming soon...

About

Symfony Application with RoadRunner packaged to Docker. ๐Ÿ”Œ + ๐Ÿ‹ = ๐Ÿ’•

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published