-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (46 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
46 lines (46 loc) · 1.08 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
40
41
42
43
44
45
46
version: '2.1'
services:
automate_app:
image: "gwinn/php:7.1"
ports:
- "80:8080"
working_dir: /automate
user: ${UID:-1000}:${GID:-1000}
volumes:
- ./:/automate
depends_on:
- automate_db
- automate_db_test
- automate_cache
- automate_queue
links:
- "automate_db:automate_db"
- "automate_db_test:automate_db_test"
- "automate_cache:automate_cache"
- "automate_queue:automate_queue"
command: make run
automate_db:
image: "postgres:9.5"
ports:
- ${POSTGRES_ADDRESS:-127.0.0.1:5432}:5432
environment:
- POSTGRES_PASSWORD=automate
- POSTGRES_USER=automate
- POSTGRES_DB=automate
automate_db_test:
image: "postgres:9.5"
ports:
- ${POSTGRES_ADDRESS:-127.0.0.1:5434}:5434
environment:
- PGPORT=5434
- POSTGRES_PASSWORD=automate
- POSTGRES_USER=automate
- POSTGRES_DB=automate
automate_cache:
image: "redis:alpine"
ports:
- "6379:6379"
automate_queue:
image: "schickling/beanstalkd:latest"
ports:
- "11300:11300"