forked from project-anacapa/course-github-org-tool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (44 loc) · 955 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (44 loc) · 955 Bytes
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.3'
services:
db:
container_name: anacapa_pg
restart: on-failure:10
image: postgres
volumes:
- db-data:/var/lib/postgresql/data
ports:
- "5432:5432"
jenkins:
container_name: anacapa_jenkins
build: ./docker/jenkins
image: thelastpenguin/anacapa_jenkins
ports:
- "8080:8080"
- "50000:50000"
secrets:
- jenkins-user
- jenkins-pass
volumes:
- jenkins-data:/jenkins
anacapa_rails:
container_name: anacapa_rails
image: thelastpenguin/anacapa_rails
build:
context: .
dockerfile: ./docker/anacapa/Dockerfile
command: sh ./docker/anacapa/docker-entrypoint.sh
volumes:
- .:/anacapa
ports:
- "3000:3000"
depends_on:
- db
- jenkins
volumes:
db-data:
jenkins-data:
secrets:
jenkins-user:
file: ./docker/secrets/jenkins-user.txt
jenkins-pass:
file: ./docker/secrets/jenkins-pass.txt