diff options
author | Tilo Spannagel <development@tilosp.de> | 2017-08-16 20:57:33 +0200 |
---|---|---|
committer | Tilo Spannagel <development@tilosp.de> | 2017-09-27 13:29:15 +0200 |
commit | 01dd1a93f155063cafff99e9014c74a9988f5009 (patch) | |
tree | 67e31bdddd80788ab8c0fa58ea20f3b3d820b851 /.examples | |
parent | 72c22b1a83ab63bd7137e9abe32350c303437180 (diff) |
Add depends_on
Diffstat (limited to '.examples')
6 files changed, 26 insertions, 0 deletions
diff --git a/.examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml b/.examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml index b5ba533e..8b85c4dd 100644 --- a/.examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml +++ b/.examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml @@ -25,6 +25,9 @@ services: - nextcloud:/var/www/html env_file: - db.env + depends_on: + - db + - redis cron: build: ./app @@ -45,6 +48,9 @@ services: sleep 15m done EOF' + depends_on: + - db + - redis volumes: db: diff --git a/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml b/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml index f9a663c3..d595531e 100644 --- a/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml +++ b/.examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml @@ -23,6 +23,9 @@ services: - nextcloud:/var/www/html env_file: - db.env + depends_on: + - db + - redis web: build: ./web @@ -31,6 +34,8 @@ services: - 8080:80 volumes: - nextcloud:/var/www/html:ro + depends_on: + - app cron: build: ./app @@ -51,6 +56,9 @@ services: sleep 15m done EOF' + depends_on: + - db + - redis volumes: db: diff --git a/.examples/docker-compose/insecure/mariadb/apache/docker-compose.yml b/.examples/docker-compose/insecure/mariadb/apache/docker-compose.yml index 475032ce..13a910fa 100644 --- a/.examples/docker-compose/insecure/mariadb/apache/docker-compose.yml +++ b/.examples/docker-compose/insecure/mariadb/apache/docker-compose.yml @@ -21,6 +21,8 @@ services: - nextcloud:/var/www/html env_file: - db.env + depends_on: + - db volumes: db: diff --git a/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml b/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml index 4bd01822..e0c4a2ee 100644 --- a/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml +++ b/.examples/docker-compose/insecure/mariadb/fpm/docker-compose.yml @@ -19,6 +19,8 @@ services: - nextcloud:/var/www/html env_file: - db.env + depends_on: + - db web: build: ./web @@ -27,6 +29,8 @@ services: - 8080:80 volumes: - nextcloud:/var/www/html:ro + depends_on: + - app volumes: db: diff --git a/.examples/docker-compose/insecure/postgres/apache/docker-compose.yml b/.examples/docker-compose/insecure/postgres/apache/docker-compose.yml index bfadd603..3043a59f 100644 --- a/.examples/docker-compose/insecure/postgres/apache/docker-compose.yml +++ b/.examples/docker-compose/insecure/postgres/apache/docker-compose.yml @@ -18,6 +18,8 @@ services: - nextcloud:/var/www/html env_file: - db.env + depends_on: + - db volumes: db: diff --git a/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml b/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml index 85f24587..4df0a790 100644 --- a/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml +++ b/.examples/docker-compose/insecure/postgres/fpm/docker-compose.yml @@ -16,6 +16,8 @@ services: - nextcloud:/var/www/html env_file: - db.env + depends_on: + - db web: build: ./web @@ -24,6 +26,8 @@ services: - 8080:80 volumes: - nextcloud:/var/www/html:ro + depends_on: + - app volumes: db: |