compose: set application name as the service name

This commit is contained in:
Sameer Naik
2017-01-11 10:35:12 +05:30
parent 90396fb7af
commit 41dbadc9bd
2 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ services:
image: 'bitnami/mariadb:latest' image: 'bitnami/mariadb:latest'
volumes: volumes:
- 'mariadb_data:/bitnami/mariadb' - 'mariadb_data:/bitnami/mariadb'
application: suitecrm:
image: 'bitnami/suitecrm:latest' image: 'bitnami/suitecrm:latest'
ports: ports:
- '80:80' - '80:80'
@@ -107,7 +107,7 @@ services:
image: 'bitnami/mariadb:latest' image: 'bitnami/mariadb:latest'
volumes: volumes:
- '/path/to/mariadb-persistence:/bitnami/mariadb' - '/path/to/mariadb-persistence:/bitnami/mariadb'
application: suitecrm:
image: 'bitnami/suitecrm:latest' image: 'bitnami/suitecrm:latest'
depends_on: depends_on:
- mariadb - mariadb
@@ -185,7 +185,7 @@ Bitnami provides up-to-date versions of MariaDB and SuiteCRM, including security
* For docker-compose add the variable name and value under the application section: * For docker-compose add the variable name and value under the application section:
```yaml ```yaml
application: suitecrm:
image: bitnami/suitecrm:latest image: bitnami/suitecrm:latest
ports: ports:
- 80:80 - 80:80
@@ -228,7 +228,7 @@ This would be an example of SMTP configuration using a Gmail account:
* docker-compose: * docker-compose:
```yaml ```yaml
application: suitecrm:
image: bitnami/suitecrm:latest image: bitnami/suitecrm:latest
ports: ports:
- 80:80 - 80:80

View File

@@ -4,7 +4,7 @@ services:
image: 'bitnami/mariadb:latest' image: 'bitnami/mariadb:latest'
volumes: volumes:
- 'mariadb_data:/bitnami/mariadb' - 'mariadb_data:/bitnami/mariadb'
application: suitecrm:
image: 'bitnami/suitecrm:latest' image: 'bitnami/suitecrm:latest'
ports: ports:
- '80:80' - '80:80'