Skip to content

Commit

Permalink
[doc] Use codechecker-web as docker image name
Browse files Browse the repository at this point in the history
  • Loading branch information
csordasmarton committed May 2, 2019
1 parent 1fb4fa6 commit 8469c84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/web/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sections.
You can create a Docker image by running the following command in the root
directory of this repository:
```bash
docker build -t codechecker-server:latest web/docker
docker build -t codechecker-web:latest web/docker
```

Multiple build-time variables can be specified:
Expand All @@ -32,16 +32,16 @@ Example:
docker build \
--build-arg INSTALL_AUTH=yes \
--build-arg INSTALL_PSYCOPG2=yes \
--tag codechecker-server:latest web/docker
--tag codechecker-web:latest web/docker
```

## Usage
To run a CodeChecker server docker container use the following command:
```sh
docker run -d \
-p 80:80 \
-p 8001:8001 \
-v /home/$USER/codechecker_workspace:/workspace \
codechecker-server:latest
codechecker-web:latest
```

## Docker Compose
Expand Down
2 changes: 1 addition & 1 deletion web/docker/services/docker-compose.psql.auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- codechecker

codechecker:
image: codechecker-server:latest
image: codechecker-web:latest
ports:
- 8001:8001
volumes:
Expand Down
2 changes: 1 addition & 1 deletion web/docker/services/docker-compose.psql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ services:
- codechecker

codechecker:
image: codechecker-server:latest
image: codechecker-web:latest
ports:
- 8001:8001
volumes:
Expand Down
2 changes: 1 addition & 1 deletion web/docker/services/docker-compose.sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'

services:
codechecker:
image: codechecker-server:latest
image: codechecker-web:latest
ports:
- 8001:8001
volumes:
Expand Down

0 comments on commit 8469c84

Please sign in to comment.