~busykoala/wp_container_template

132b2466f9d562829042aad608c00924bdcdcf9a — Matthias Osswald 1 year, 10 months ago 948de88
Name container generically.
3 files changed, 3 insertions(+), 1 deletions(-)

M .env.example
M README.md
M docker-compose.yml
M .env.example => .env.example +1 -0
@@ 2,3 2,4 @@ DB_ROOT_PW=example_root_password
DB_USER=example_user_name
DB_USER_PW=example_user_password
WP_PORT=4000
CONTAINER_NAME=example_container

M README.md => README.md +1 -0
@@ 15,6 15,7 @@ The database volume can be found with `docker volume ls`.
    - mariadb user name
    - mariadb user pw
    - exposed port for wp installation
    - name of the wp container
- Start with `docker-compose up -d`.

## Update Docker Setup

M docker-compose.yml => docker-compose.yml +1 -1
@@ 32,7 32,7 @@ services:
       - WORDPRESS_DB_NAME=wordpress
    volumes:
      - ./wordpress-files:/var/www/html
    container_name: edelstein_shop_app
    container_name: ${CONTAINER_NAME}
    networks:
      - wp-back
    restart: unless-stopped