From eeded1d5d6c7207b7100eaa77168213f150eff31 Mon Sep 17 00:00:00 2001 From: Diego Lendoiro Date: Wed, 11 Apr 2018 18:19:55 +0200 Subject: [PATCH] docker compose for pro edition --- docker-compose-pro.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 docker-compose-pro.yml diff --git a/docker-compose-pro.yml b/docker-compose-pro.yml new file mode 100644 index 0000000..43558d8 --- /dev/null +++ b/docker-compose-pro.yml @@ -0,0 +1,34 @@ +version: '3.4' +services: + db: + image: mysql:latest + env_file: + - env/mysql.env + volumes: + - database_volume:/var/lib/mysql + ports: + - 3306 + + passbolt: + image: passbolt/passbolt:2.0.1-pro-debian + tty: true + depends_on: + - db + env_file: + - env/passbolt.env + volumes: + - gpg_volume:/var/www/passbolt/config/gpg + - images_volume:/var/www/passbolt/webroot/img/public + - ./license:/var/www/passbolt/config/license + - ./scripts/wait-for.sh:/usr/bin/wait-for.sh + tmpfs: + - /run + command: ["/usr/bin/wait-for.sh", "db:3306", "--", "/docker-entrypoint.sh"] + ports: + - 80:80 + - 443:443 + +volumes: + database_volume: + gpg_volume: + images_volume: