~busykoala/wp_container_template

3627f03e96aa06e888332a07908ad83de96a185d — Matthias Osswald 2 years ago 27b1ac6
Add restart commands and run on 4000.
1 files changed, 5 insertions(+), 3 deletions(-)

M docker-compose.yml
M docker-compose.yml => docker-compose.yml +5 -3
@@ 1,4 1,4 @@
version: '3.7'
version: '3'

volumes:
  wp-data:


@@ 20,18 20,20 @@ services:
      - 8889:3306
    networks:
      - wp-back
    restart: unless-stopped
  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    ports:
      - 8888:80
      - 4000:80
    environment:
       - WORDPRESS_DB_HOST=db
       - WORDPRESS_DB_USER=${DB_USER}
       - WORDPRESS_DB_PASSWORD=${DB_USER_PW}
    volumes:
      - ./wordpress-files:/var/www/html
    container_name: wordpress-site
    container_name: edelstein_shop_app
    networks:
      - wp-back
    restart: unless-stopped