From 76f09d6c60f2c2f160ee59402cf5096e8a110ca4 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 3 Dec 2015 03:12:33 -0400 Subject: [PATCH] Add docker compose file. --- docker-compose.yml | 21 +++++++++++++++++++++ environment | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 docker-compose.yml create mode 100644 environment diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000..e74f5e5e09 --- /dev/null +++ b/docker-compose.yml @@ -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 diff --git a/environment b/environment new file mode 100644 index 0000000000..2ef2c9d6c2 --- /dev/null +++ b/environment @@ -0,0 +1,3 @@ +POSTGRES_DB=mayan +POSTGRES_PASSWORD=mayanpassword +POSTGRES_USER=mayan