Skip to content

Commit

Permalink
#82: docker documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiliavir committed Aug 22, 2022
1 parent 6082c5e commit 1747f91
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/docker.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
Setup following a [tutorial from coffeetime.solutions]( http://coffeetime.solutions/run-atlassian-jira-and-confluence-with-postgresql-on-docker/#Overview_of_series_How_to_run_Jira_and_Confluence_behind_NGINX_reverse_proxy_on_Docker):

```bash
docker run --name postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
docker run --name=confluence -d -p 8090:8090 -p 8091:8091 atlassian/confluence-server:latest
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 inspect postgres | grep IPAddress # get the IP address of the postgres container
```

Start confluence setup and configure Postgres:
Expand All @@ -11,5 +14,7 @@ Start confluence setup and configure Postgres:
- user: postgres
- password: mysecretpassword (defined above)

![](img/db.png)

Skip tutorial
Create new space "Test"
Binary file added docs/img/db.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1747f91

Please sign in to comment.