Add docker compose file.

This commit is contained in:
Roberto Rosario
2015-12-03 03:12:33 -04:00
parent 1f8f860f2c
commit 76f09d6c60
2 changed files with 24 additions and 0 deletions

21
docker-compose.yml Normal file
View File

@@ -0,0 +1,21 @@
postgres:
env_file:
- ./environment
image: postgres
volumes:
- /var/lib/postgresql/data
redis:
image: redis
mayan-edms:
env_file:
- ./environment
image: mayanedms/monolithic:2.0.0rc1
links:
- postgres
- redis
ports:
- "8080:80"
volumes:
- /usr/local/lib/python2.7/dist-packages/mayan/media

3
environment Normal file
View File

@@ -0,0 +1,3 @@
POSTGRES_DB=mayan
POSTGRES_PASSWORD=mayanpassword
POSTGRES_USER=mayan