bitnami-containers/bitnami/phpbb/docker-compose.yml

34 lines
713 B
YAML

version: '2'
services:
mariadb:
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_phpbb
- MARIADB_DATABASE=bitnami_phpbb
volumes:
- 'mariadb_data:/bitnami'
phpbb:
image: 'bitnami/phpbb:latest'
labels:
kompose.service.type: nodeport
environment:
- MARIADB_HOST=mariadb
- MARIADB_PORT_NUMBER=3306
- PHPBB_DATABASE_USER=bn_phpbb
- PHPBB_DATABASE_NAME=bitnami_phpbb
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '80:80'
- '443:443'
volumes:
- 'phpbb_data:/bitnami'
depends_on:
- mariadb
volumes:
mariadb_data:
driver: local
phpbb_data:
driver: local