GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shiftrightonce/docker_env: Portable development environment

BranchesTags
Open more actions menu

Latest commit

 

History

89 Commits
89 Commits

Folders and files

NameName
Last commit message
Last commit date
services
services
 
 
.directory
.directory
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
dev.sh
dev.sh
 
 
docker-compose.yml
docker-compose.yml
 
 
env.example
env.example
 
 

Repository files navigation

Dev environment

Dev environment using docker containers to run various servers and services

Setup

  • Make sure docker is installed
  • Run dev.sh setup
  • After the build is completed, a new directory will be created called projects
  • Clone or create your projects in this directory

Register a new website/application

  • copy the template.conf in docker/nginx into docker/nginx/sites
  • rename the new file as per your needs
  • edit the file and change the follow strings
    • [site domain here] to your domain name. eg: example.test
    • [app public folder here] to point to your site public folder
  • start/restart the contianers

Helpful info

  • To start the containers: while in this folder run sudo docker compose up . This command will run docker in the foreground.
  • Connecting your application to mariadb server
    • host: db
    • username: root
    • pasword: dbpassword
  • Running composer, yarn or npm should be done in the phpfpm container
  • To login to the phpfpm container execture: sudo doker-compose exec phpfpm bash . Once logged in, you will be in the projects directory
  • Add data that needs persisting, eg: mariadb databases, are store in the respective container folder. eg: mariadb databases are stored in docker/db/data
  • Running sh dev.sh will display instructions on how to ssh into the other containers

Important

  • Make sure your fake domain are recorded in your hosts file

About

Portable development environment

Resources

Readme
Activity

Stars

3 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.