-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (35 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
40 lines (35 loc) · 1.15 KB
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
version: "3.1"
services:
handle_service:
image: kbase/handle_service:${TRAVIS_BRANCH:-latest}
command: [ "https://gitlab.kbase.lbl.gov:1443/devops/serviceconf/raw/master/handle_service/handle_service-ci.yml"]
ports:
- "7109:7109"
secrets:
- auth_data
depends_on: ["handle_manager", "ci-mysql"]
mysqlinit:
image: mysql:5.5
volumes:
- ./mysqldump:/mnt/mysqldump
entrypoint: [ "mysql", "-h", "ci-mysql", "-e", "source /mnt/mysqldump"]
depends_on: [ "ci-mysql" ]
handle_manager:
image: kbase/handle_mngr:latest
command: [ "https://gitlab.kbase.lbl.gov:1443/devops/serviceconf/raw/master/handle_mngr/handle_mngr-ci.yml"]
ports:
- "9001:9001"
secrets:
- auth_data
ci-mysql:
image: mysql:5.5
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
ports:
- "3306:3306"
# Authentication token for gitlab needs to be specified in the secrets file into the
# form "PRIVATE-TOKEN:GITLABTOKENSTRING" with no space after the colon, this sets an HTTP header
# of PRIVATE_TOKEN which will be used by the gitlab service endpoint for auth
secrets:
auth_data:
file: secrets/auth_data