Skip to content

Commit

Permalink
Small tweaks to the README.md top-to-bottom rewrite
Browse files Browse the repository at this point in the history
updated example compose.yml with text of working file.  Fixed incorrect database reference in section regarding docker ps
  • Loading branch information
ProfessorGram authored Dec 27, 2024
1 parent d6898e4 commit e9a827f
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,24 @@ In this case we will create a directory named `backdrop-eval` to help assemble t
In the `backdrop-eval` directory, create `compose.yml` file with the following contents:

```yaml
backdrop:
image: backdrop/backdrop
links:
- db:mysql
ports:
- 8080:80

db:
image: mysql
environment:
MYSQL_USER: backdrop
MYSQL_PASSWORD: backdrop
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: backdrop

services:
backdrop:
build:
context: ./1/apache
ports:
- 8088:80
environment:
BACKDROP_DB_HOST: db
BACKDROP_DB_USER: backdrop
BACKDROP_DB_PASSWORD: backdrop

db:
image: mysql
environment:
MYSQL_USER: backdrop
MYSQL_PASSWORD: backdrop
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_DATABASE: backdrop
```
## Step 4: Launch docker in such a way that it processes the startup file
Expand Down Expand Up @@ -113,7 +116,7 @@ Validating that backdrop indeed constructed a valid runtime environment may be a
docker ps
```

The resulting listing should include TWO (2) docker containers, one for the database server (mysql), one for the CMS (backdrop).
The resulting listing should include TWO (2) docker containers, one for the database server (db), one for the CMS (backdrop).

## How to access the docker-based backdrop runtime environment
Accessing the docker container may be accomplished with the following command:
Expand Down

0 comments on commit e9a827f

Please sign in to comment.