32 lines
816 B
YAML
32 lines
816 B
YAML
version: '2'
|
|
services:
|
|
mariadb:
|
|
image: docker.io/bitnami/mariadb:10.6
|
|
volumes:
|
|
- 'mariadb_data:/bitnami/mariadb'
|
|
environment:
|
|
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
- MARIADB_USER=bn_ghost
|
|
- MARIADB_DATABASE=bitnami_ghost
|
|
ghost:
|
|
image: docker.io/bitnami/ghost:4
|
|
ports:
|
|
- '80:2368'
|
|
volumes:
|
|
- 'ghost_data:/bitnami/ghost'
|
|
depends_on:
|
|
- mariadb
|
|
environment:
|
|
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
- GHOST_DATABASE_HOST=mariadb
|
|
- GHOST_DATABASE_PORT_NUMBER=3306
|
|
- GHOST_DATABASE_USER=bn_ghost
|
|
- GHOST_DATABASE_NAME=bitnami_ghost
|
|
volumes:
|
|
mariadb_data:
|
|
driver: local
|
|
ghost_data:
|
|
driver: local
|