Files
containers/bitnami/ghost/docker-compose.yml
Bitnami Bot d034a8efca [bitnami/ghost] Release 5.53.1-debian-11-r1 (#38976)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2023-06-27 07:15:51 +02:00

35 lines
861 B
YAML

# Copyright VMware, Inc.
# SPDX-License-Identifier: APACHE-2.0
version: '2'
services:
mysql:
image: docker.io/bitnami/mysql:8.0
volumes:
- 'mysql_data:/bitnami/mysql'
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- MYSQL_USER=bn_ghost
- MYSQL_DATABASE=bitnami_ghost
ghost:
image: docker.io/bitnami/ghost:5
ports:
- '80:2368'
volumes:
- 'ghost_data:/bitnami/ghost'
depends_on:
- mysql
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- GHOST_DATABASE_HOST=mysql
- GHOST_DATABASE_PORT_NUMBER=3306
- GHOST_DATABASE_USER=bn_ghost
- GHOST_DATABASE_NAME=bitnami_ghost
volumes:
mysql_data:
driver: local
ghost_data:
driver: local