mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Update Docker
parent
d068e9101d
commit
9616f9a47a
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue