Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ArchBlood <35392110+ArchBlood@users.noreply.github.com>
  • Loading branch information
ArchBlood authored Nov 6, 2024
1 parent 7c165ab commit 5794bff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
version: "3.8"

services:
humhub:
build: .
ports:
- "8080:8080"
volumes:
- .:/var/www/html
- humhub_config:/var/www/html/protected/config
- humhub_runtime:/var/www/html/protected/runtime
environment:
- PHP_MEMORY_LIMIT=512M
- PHP_MAX_EXECUTION_TIME=300
Expand All @@ -25,9 +28,19 @@ services:
MYSQL_DATABASE: humhub
MYSQL_USER: humhubuser
MYSQL_PASSWORD: humhubpassword
volumes:
- humhub_db_data:/var/lib/mysql
networks:
- humhub_network

networks:
humhub_network:
driver: bridge

volumes:
humhub_db_data:
driver: local
humhub_config:
driver: local
humhub_runtime:
driver: local

0 comments on commit 5794bff

Please sign in to comment.