forked from teamatldocker/bitbucket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (46 loc) · 1.19 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
50
version: '3'
services:
bitbucket:
image: teamatldocker/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'
- 'BITBUCKET_EMBEDDED_SEARCH=true'
labels:
com.teamatldocker.description: "Atlassian Bitbucket"
com.teamatldocker.service: "bitbucket"
postgres_bitbucket:
image: postgres:9.5-alpine
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.teamatldocker.description: "PostgreSQL Database Server"
com.teamatldocker.service: "postgresql"
volumes:
bitbucketdata:
external: false
postgresqldata:
external: false
networks:
bitbucketnet:
driver: bridge