Update Docker

Kevin Morris 2021-10-03 03:40:38 +00:00
parent d068e9101d
commit 9616f9a47a

@ -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: 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: 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 $ 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: 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 -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 run test # Starts instantly. $ docker-compose -f docker-compose.yml -f docker-compose.dev.yml --profile dev run test # Starts instantly.
## Continued Imaging ## Continued Imaging