Closed dogi closed 6 years ago
Please try also this dogi
version: '2'
services:
moodledb:
image: postgres
container_name: moodledb
ports:
- "5432:5432"
environment:
- POSTGRES_DATABASE=moodle
- POSTGRES_USER=moodle
- POSTGRES_PASSWORD=moodle
moodle:
image: treehouses/moodle:x86-pgsql
container_name: moodle
ports:
- "8080:80"
volumes:
- /home/pi/apache2:/var/run/apache2
environment:
- MOODLE_URL=http://moodle:80
This also solved with #12