-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose-ci.yml
50 lines (46 loc) · 1.03 KB
/
docker-compose-ci.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
bamboo-server:
build: bamboo-server
ports:
- 8085:8085
- 54663:54663
links:
- postgres
environment:
BAMBOO_VERSION: ${BAMBOO_VERSION}
BAMBOO_HOME: /home/bamboo
BAMBOO_BAMBOO_SERVER_ID: bamboo-server
volumes_from:
- bamboo-data
bamboo-data:
image: busybox
tty: true
volumes:
- /home/bamboo
postgres:
image: postgres:latest
ports:
- 15432:5432
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_DB: bamboo
POSTGRES_USER: bamboo
POSTGRES_PASSWORD: bamboo
tty: true
stdin_open: true
volumes_from:
- postgres-data
postgres-data:
image: busybox
tty: true
volumes:
- /var/lib/postgresql/data/pgdata
bamboo-agent:
build: bamboo-agent
links:
- bamboo-server
environment:
BAMBOO_VERSION: ${BAMBOO_VERSION}
BAMBOO_SERVER: bamboo-server
BAMBOO_SERVER_PORT: 8085
PACKAGES: "mc htop"
no_proxy: bamboo-server