Files
containers/bitnami/ghost/5/debian-12/docker-compose.yml
Bitnami Bot 6de6ed34d1 [bitnami/ghost] Release 5.79.4-debian-12-r0 (#62466)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
2024-02-20 17:14:46 +01: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