Skip to content

tsunamix/contenta_docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

docker-compose build
docker-compose up

First-time initialization

The container doesn't automatically run drush site-install because we want it to be possible to stop and start an existing container without rebuilding the site every time. Instead, you need to manually run this after starting the container the first time:

docker exec contentadocker_php_1 init-drupal

In the above command, "contentadocker_php_1" is the name of the running container for the php service. If docker-compose names yours differently, you can find it with docker-compose ps.

When it finishes successsfully, the command will output a one-time login URL.

Persistence

Persistent state is stored in two docker volumes (named data and www). You can destroy and recreate the containers as much as you like and your site will be preserved until you also destroy these volumes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 60.1%
  • Dockerfile 39.9%