Skip to content

Commit d927216

Browse files
committed
Change service names for more accurate
Some names services contained the prefix wp_ and is confusing
1 parent bcc6866 commit d927216

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You need to pass several arguments such as:
99

1010
`export DB_PASS=YOUR_SUPER_SECURE_PASSWORD && export UID && docker-compose up`
1111

12-
> With `docker-compose up` it will run a phpmyadmin service, this is created with goal of facilitate the management of the DataBase (not all of us are command ninja). You can stop it when you are not using it with `docker-compose stop wp_phpmyadmin`
12+
> With `docker-compose up` it will run a phpmyadmin service, this is created with goal of facilitate the management of the DataBase (not all of us are command ninja). You can stop it when you are not using it with `docker-compose stop phpmyadmin`
1313
1414
## Configuring Wordmove
1515

@@ -24,7 +24,7 @@ We recommend to have a repo for your WordPress site, so the themes and plugins s
2424

2525
### Login in to the container
2626

27-
`docker-compose run --rm wp_wordmove /bin/bash`
27+
`docker-compose run --rm wordmove /bin/bash`
2828

2929
### Creating Movefile
3030

@@ -53,10 +53,10 @@ You need to pass several arguments such as:
5353
- **DOMAIN** Put your domain _your-domain.com_. This is needed to the https set up.
5454
- **EMAIL** Put your email domain _email@your-domain.com_. This is needed to the https set up.
5555

56-
`export DB_PASS=YOUR_SUPER_SECURE_PASSWORD && export DOMAIN=your-domain.com && export EMAIL=email@your-domain.com && docker-compose --file docker-compose-production.yml up -d && docker-compose --file docker-compose-production.yml stop wp_phpmyadmin`
56+
`export DB_PASS=YOUR_SUPER_SECURE_PASSWORD && export DOMAIN=your-domain.com && export EMAIL=email@your-domain.com && docker-compose --file docker-compose-production.yml up -d && docker-compose --file docker-compose-production.yml stop phpmyadmin`
5757

5858
> This will stop the phpmyadmin service for security reasons, if you want to run it just
59-
> `docker-compose --file docker-compose-production.yml start wp_phpmyadmin`
59+
> `docker-compose --file docker-compose-production.yml start phpmyadmin`
6060
6161
--------------------------
6262

@@ -76,7 +76,7 @@ In this section you will find development and production common features.
7676
- 1/12 --dbname=<**dbname**>: `YOUR_DB_NAME`
7777
- 2/12 --dbuser=<**dbuser**>: `USER_CREATED_AT_1`
7878
- 3/12 [--dbpass=<**dbpass**>]: `PASS_CREATED_AT_1`
79-
- 4/12 [--dbhost=<**dbhost**>]: `wp_mariadb`
79+
- 4/12 [--dbhost=<**dbhost**>]: `mariadb`
8080
- 5...12 - Default values set by enter
8181
4. Install WordPress site
8282
- `docker-compose run --rm --user=82 wp_server wp core install --prompt`

docker-compose-production.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ services:
3030
restart: always
3131
# <<<<< Https
3232

33-
wp_http_server:
33+
http_server:
3434
image: nginx:1.13.3-alpine
3535
restart: always
3636
links:
@@ -63,9 +63,9 @@ services:
6363
- ./www/wp_files/:/www
6464
- ./configs/php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
6565
links:
66-
- wp_mariadb
66+
- mariadb
6767

68-
wp_mariadb:
68+
mariadb:
6969
image: mariadb
7070
restart: always
7171
ports:
@@ -78,13 +78,13 @@ services:
7878
environment:
7979
- MYSQL_ROOT_PASSWORD=${DB_PASS}
8080

81-
wp_phpmyadmin:
81+
phpmyadmin:
8282
image: phpmyadmin/phpmyadmin
8383
restart: always
8484
environment:
85-
- PMA_HOST=wp_mariadb
85+
- PMA_HOST=mariadb
8686
links:
87-
- wp_mariadb
87+
- mariadb
8888
ports:
8989
- "8888:80"
9090

docker-compose.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "2"
33

44
services:
55

6-
wp_http_server:
6+
http_server:
77
image: nginx:1.13.3-alpine
88
restart: always
99
ports:
@@ -27,9 +27,9 @@ services:
2727
- ./www/wp_files/:/www
2828
- ./configs/php/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
2929
links:
30-
- wp_mariadb
30+
- mariadb
3131

32-
wp_mariadb:
32+
mariadb:
3333
image: mariadb
3434
restart: always
3535
ports:
@@ -39,17 +39,17 @@ services:
3939
environment:
4040
- MYSQL_ROOT_PASSWORD=${DB_PASS}
4141

42-
wp_phpmyadmin:
42+
phpmyadmin:
4343
image: phpmyadmin/phpmyadmin
4444
restart: always
4545
environment:
46-
- PMA_HOST=wp_mariadb
46+
- PMA_HOST=mariadb
4747
links:
48-
- wp_mariadb
48+
- mariadb
4949
ports:
5050
- "8888:80"
5151

52-
wp_wordmove:
52+
wordmove:
5353
build:
5454
context: ./docker-images/wordmove/
5555
command: 'echo "Hello From Wordmove"'
@@ -59,4 +59,4 @@ services:
5959
- ./configs/wordmove/:/home/:ro
6060
- ${HOME}/.ssh/:/root/.ssh:ro
6161
links:
62-
- wp_mariadb
62+
- mariadb

0 commit comments

Comments
 (0)