-
Notifications
You must be signed in to change notification settings - Fork 61
/
docker-compose.yml
49 lines (45 loc) · 1.15 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3'
services:
bitbucket:
image: blacklabelops/bitbucket
depends_on:
- postgres_bitbucket
networks:
- bitbucketnet
volumes:
- bitbucketdata:/var/atlassian/bitbucket
ports:
- '80:7990'
environment:
- 'BITBUCKET_PROXY_NAME='
- 'BITBUCKET_PROXY_PORT='
- 'BITBUCKET_PROXY_SCHEME='
- 'BITBUCKET_DELAYED_START='
- 'DOCKER_WAIT_HOST=postgres_bitbucket'
- 'DOCKER_WAIT_PORT=5432'
labels:
com.blacklabelops.description: "Atlassian Bitbucket"
com.blacklabelops.service: "bitbucket"
postgres_bitbucket:
image: blacklabelops/postgres
networks:
- bitbucketnet
volumes:
- postgresqldata:/var/lib/postgresql/data
environment:
- 'POSTGRES_USER=bitbucketdb'
# CHANGE THE PASSWORD!
- 'POSTGRES_PASSWORD=jellyfish'
- 'POSTGRES_DB=bitbucketdb'
- 'POSTGRES_ENCODING=UTF8'
labels:
com.blacklabelops.description: "PostgreSQL Database Server"
com.blacklabelops.service: "postgresql"
volumes:
bitbucketdata:
external: false
postgresqldata:
external: false
networks:
bitbucketnet:
driver: bridge