treehouses / moodole

Moodle Docker :whale: for Raspberry Pi. Part of OLE's Treehouses Project.
https://hub.docker.com/r/treehouses/moodle/
GNU Affero General Public License v3.0
17 stars 8 forks source link

x86 docker-compose script #10

Closed dogi closed 6 years ago

dogi commented 7 years ago
moodledb: 
  image: postgres 
  container_name: moodledb
  ports: 
    - "5432:5432" 
  environment: 
    - POSTGRES_DATABASE=moodle 
    - POSTGRES_USER=moodle 
    - POSTGRES_PASSWORD=moodle
moodle: 
  image: treehouses/moodle:x86
  container_name: moodle
  ports:
    - "8080:80"
  links:
    - moodledb
  volumes: 
    - /home/pi/apache2:/var/run/apache2
  environment: 
    - MOODLE_URL=http://moodoledemo.local:80
empeje commented 7 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
empeje commented 6 years ago

This also solved with #12