36 lines
900 B
YAML
36 lines
900 B
YAML
# Copyright VMware, Inc.
|
|
# SPDX-License-Identifier: APACHE-2.0
|
|
|
|
version: '2'
|
|
services:
|
|
mariadb:
|
|
image: docker.io/bitnami/mariadb:10.11
|
|
environment:
|
|
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
- MARIADB_USER=bn_phpbb
|
|
- MARIADB_DATABASE=bitnami_phpbb
|
|
volumes:
|
|
- 'mariadb_data:/bitnami/mariadb'
|
|
phpbb:
|
|
image: docker.io/bitnami/phpbb:3
|
|
ports:
|
|
- '80:8080'
|
|
- '443:8443'
|
|
environment:
|
|
- PHPBB_DATABASE_HOST=mariadb
|
|
- PHPBB_DATABASE_PORT_NUMBER=3306
|
|
- PHPBB_DATABASE_USER=bn_phpbb
|
|
- PHPBB_DATABASE_NAME=bitnami_phpbb
|
|
# ALLOW_EMPTY_PASSWORD is recommended only for development.
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
volumes:
|
|
- 'phpbb_data:/bitnami/phpbb'
|
|
depends_on:
|
|
- mariadb
|
|
volumes:
|
|
mariadb_data:
|
|
driver: local
|
|
phpbb_data:
|
|
driver: local
|