29 lines
671 B
YAML
29 lines
671 B
YAML
version: '2.1'
|
|
services:
|
|
automate_app:
|
|
image: "gwinn/php:7.1"
|
|
working_dir: /automate
|
|
user: ${UID:-1000}:${GID:-1000}
|
|
volumes:
|
|
- ./:/automate
|
|
links:
|
|
- "automate_db:automate_db"
|
|
- "automate_cache:automate_cache"
|
|
- "automate_queue:automate_queue"
|
|
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_cache:
|
|
image: "redis:alpine"
|
|
ports:
|
|
- "6379:6379"
|
|
automate_queue:
|
|
image: "schickling/beanstalkd:latest"
|
|
ports:
|
|
- "11300:11300"
|