-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
63 lines (57 loc) · 1.46 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
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '2'
services:
bamboo-agent:
image: registry.gitlab.com/notch8/bbfops/bamboo-agent:#{TAG}
build:
context: .
dockerfile: Dockerfile.agent
environment:
- 'CATALINA_OPTS= -Xms256m -Xmx1g'
- 'BAMBOO_SERVER=http://bamboo:8085'
bamboo:
image: registry.gitlab.com/notch8/bbfops/bamboo:${TAG}
build: .
container_name: bamboo
hostname: bamboo
networks:
- bamboonet
volumes:
- bamboodata:/var/atlassian/bamboo
ports:
- '8085:8085'
environment:
- 'CATALINA_OPTS= -Xms256m -Xmx1g'
- 'BAMBOO_PROXY_NAME='
- 'BAMBOO_PROXY_PORT='
- 'BAMBOO_PROXY_SCHEME='
- 'BAMBOO_DELAYED_START='
labels:
com.blacklabelops.description: "Atlassian Bamboo"
com.blacklabelops.service: "bamboo"
postgresql:
image: blacklabelops/postgres
container_name: postgres
hostname: postgres
networks:
- bamboonet
volumes:
- postgresqldata:/var/lib/postgresql/data
environment:
- 'POSTGRES_USER=bamboodb'
# CHANGE THE PASSWORD!
- 'POSTGRES_PASSWORD=jellyfish'
- 'POSTGRES_DB=bamboodb'
- 'POSTGRES_ENCODING=UTF8'
- 'POSTGRES_COLLATE=C'
- 'POSTGRES_COLLATE_TYPE=C'
labels:
com.blacklabelops.description: "PostgreSQL Database Server"
com.blacklabelops.service: "postgresql"
volumes:
bamboodata:
external: false
postgresqldata:
external: false
networks:
bamboonet:
driver: bridge