Skip to content

Commit

Permalink
#82: updates docker documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiliavir committed Sep 10, 2023
1 parent f16b769 commit 49243e8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
18 changes: 14 additions & 4 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,18 @@ Setup following a [tutorial from coffeetime.solutions]( http://coffeetime.soluti
```bash
mkdir -p $HOME/docker/volumes/postgres
mkdir -p $HOME/docker/volumes/confluence
docker run --name postgres -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data -e POSTGRES_PASSWORD=mysecretpassword -d postgres
docker run --name=confluence -v $HOME/docker/volumes/confluence:/var/atlassian/application-data/confluence -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server:latest
docker run --name postgres \
-v $HOME/docker/volumes/postgres:/var/lib/postgresql/data \
-e POSTGRES_PASSWORD=mysecretpassword \
-d postgres
docker run --name=confluence \
-v $HOME/docker/volumes/confluence:/var/atlassian/application-data/confluence \
-d \
-p 8090:8090 \
-p 8091:8091 \
-p 5005:5005 \
-e JVM_SUPPORT_RECOMMENDED_ARGS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005" \
atlassian/confluence-server:latest
docker inspect postgres | grep IPAddress # get the IP address of the postgres container
```

Expand All @@ -16,5 +26,5 @@ Start confluence setup and configure Postgres:

![](img/db.png)

Skip tutorial
Create new space "Test"
- Skip tutorial
- Create new space "Test"
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.atlassian.bandana.BandanaManager;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;

import java.io.IOException;
import java.io.ObjectInputStream;
Expand Down

0 comments on commit 49243e8

Please sign in to comment.