compose: set application name as the service name
This commit is contained in:
parent
79ecc32d57
commit
25070f2ef9
|
|
@ -32,7 +32,7 @@ services:
|
||||||
image: 'bitnami/mariadb:latest'
|
image: 'bitnami/mariadb:latest'
|
||||||
volumes:
|
volumes:
|
||||||
- 'mariadb_data:/bitnami/mariadb'
|
- 'mariadb_data:/bitnami/mariadb'
|
||||||
application:
|
ghost:
|
||||||
image: 'bitnami/ghost:latest'
|
image: 'bitnami/ghost:latest'
|
||||||
ports:
|
ports:
|
||||||
- '80:2368'
|
- '80:2368'
|
||||||
|
|
@ -170,7 +170,7 @@ Bitnami provides up-to-date versions of MariaDB and Ghost, including security pa
|
||||||
|
|
||||||
* 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:
|
ghost:
|
||||||
image: bitnami/ghost:latest
|
image: bitnami/ghost:latest
|
||||||
ports:
|
ports:
|
||||||
- 80:2368
|
- 80:2368
|
||||||
|
|
@ -210,7 +210,7 @@ This would be an example of SMTP configuration using a GMail account:
|
||||||
* docker-compose:
|
* docker-compose:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
application:
|
ghost:
|
||||||
image: bitnami/ghost:latest
|
image: bitnami/ghost:latest
|
||||||
ports:
|
ports:
|
||||||
- 80:2368
|
- 80:2368
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ services:
|
||||||
image: 'bitnami/mariadb:latest'
|
image: 'bitnami/mariadb:latest'
|
||||||
volumes:
|
volumes:
|
||||||
- 'mariadb_data:/bitnami/mariadb'
|
- 'mariadb_data:/bitnami/mariadb'
|
||||||
application:
|
ghost:
|
||||||
image: 'bitnami/ghost:latest'
|
image: 'bitnami/ghost:latest'
|
||||||
ports:
|
ports:
|
||||||
- '80:2368'
|
- '80:2368'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue