Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
aurweb
Commits
7c363797
Unverified
Commit
7c363797
authored
Feb 21, 2022
by
Colin Woodbury
Browse files
docs(docker): basic usage instructions
parent
1e31db47
Changes
1
Show whitespace changes
Inline
Side-by-side
docker/README.md
0 → 100644
View file @
7c363797
# Aurweb and Docker
The
`INSTALL`
document details a manual Aurweb setup, but Docker images are also
provided here to avoid the complications of database configuration (and so
forth).
### Setup
Naturally, both
`docker`
and
`docker-compose`
must be installed, and your Docker
service must be started:
```
sh
systemctl start docker.service
```
The main image -
`aurweb`
- must be built manually:
```
sh
docker compose build aurweb-image
```
### Starting and Stopping the Services
With the above steps complete, you can bring up an initial cluster:
```
sh
docker compose up
```
Subsequent runs will be done with
`start`
instead of
`up`
. The cluster can be
stopped with
`docker compose stop`
.
### Testing
With a running cluster, execute the following in a new terminal:
```
sh
docker compose run
test
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment