Created
February 15, 2021 01:45
-
-
Save rmsaitam/c7926698716916961b69b2b28243929d to your computer and use it in GitHub Desktop.
Humhub no ambiente Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
humhub: | |
image: mriedmann/humhub:1.6.2 | |
links: | |
- "db:db" | |
ports: | |
- "8080:80" | |
volumes: | |
- "config:/var/www/localhost/htdocs/protected/config" | |
- "uploads:/var/www/localhost/htdocs/uploads" | |
- "modules:/var/www/localhost/htdocs/protected/modules" | |
environment: | |
HUMHUB_DB_USER: humhub | |
HUMHUB_DB_PASSWORD: humhub | |
db: | |
image: mariadb:10.2 | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: humhub | |
MYSQL_USER: humhub | |
MYSQL_PASSWORD: humhub | |
volumes: | |
- "./db:/var/lib/mysql" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment