Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

cuerre/compose-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose for Cuerre

Author

Hello, developer!

I am Alby Hernández (alias @achetronic) and have done several projects for the cloud in my life. Hope you like it.

There is a good article (not mine) explaining some principles about containers: https://developers.redhat.com/blog/2016/02/24/10-things-to-avoid-in-docker-containers/

Bugs

If you find some bug or something that can be improved, please, feel free to contact me at [email protected]

Using this tool

Services integrated

  • PHP + Laravel backend server
  • Nginx frontend server

Working

Just one command to dominate them all. Git Clone this project, go to the main folder (where docker-compose.yaml is) and type the following:

docker-compose up -d

Results

  • Laravel working, configured with ENV vars and listening, internally, on port 9000. Exposed on port 80 by Nginx

How to work and save the results

This is a tool made to demonstrate the ease of working with Docker and Laravel together. But it can be very useful for developing purposes, so there are several ways to make an app using this: 1.- Attaching your machine to the container

* docker ps
* docker attach backend

2.- Making changes directly on the real binded folder

* cd /var/lib/docker/volumes/backend/_data/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published