Changes between Version 15 and Version 16 of dockerdeployment2023


Ignore:
Timestamp:
Dec 11, 2023, 10:44:44 AM (12 months ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • dockerdeployment2023

    v15 v16  
    327327
    328328This command tells Docker to build an image using the Dockerfile in the current directory (.) and tag it as `my-webserver:latest`.
    329  
     329
    330330Best Practices
    331331
     
    394394 }}}
    395395
    396 Start the !WordPress and Database Containers: Navigate to the directory containing the `docker-compose.yml` file and run:
     396'''Start the !WordPress and Database Containers:'''Navigate to the directory containing the `docker-compose.yml` file and run:
    397397
    398398`docker compose up -d`
    399399
    400400This command will start the services in detached mode. Once the services are up, you can access the !WordPress site by navigating to `http://<MASTER_IP>:8080` from your browser.
    401  
    402 Stopping the Services: To stop the services, navigate to the same directory and run:
     401
     402'''Stopping the Services:''' To stop the services, navigate to the same directory and run:
    403403 
    404404`docker compose down`