From 9616f9a47a8f23d85ef80d8f686b4d6a36c7d33f Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Sun, 3 Oct 2021 03:40:38 +0000 Subject: [PATCH] Update Docker --- Docker.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Docker.md b/Docker.md index 8c2d083..896c148 100644 --- a/Docker.md +++ b/Docker.md @@ -28,17 +28,17 @@ AURWeb's Docker infrastructure is composed of a [Dockerfile](https://gitlab.arch To get started, you need to build the `aurweb:latest` Docker image by issuing the following command: - $ docker build -t aurweb:latest . + $ docker-compose build You can then `docker-compose (up|run)` any one of the services: - $ docker-compose run test + $ docker-compose -f docker-compose.yml -f docker-compose.dev.yml --profile dev run test $ docker-compose up -d nginx Users will notice initially starting up a service can take some time, especially one with many dependencies. After the initial startup, however, users can run services again without much initialization: - $ docker-compose run test # First run with no up'd services, takes a while. - $ docker-compose run test # Starts instantly. + $ docker-compose -f docker-compose.yml -f docker-compose.dev.yml --profile dev run test # First run with no up'd services, takes a while. + $ docker-compose -f docker-compose.yml -f docker-compose.dev.yml --profile dev run test # Starts instantly. ## Continued Imaging