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