docker-compose.yml 435 Bytes
Newer Older
1
2
3
4
5
version: '2.0'

services:

  drupal:
Luca Freckmann's avatar
Luca Freckmann committed
6
    image: docker.gitlab.gwdg.de/medinfpub/menoci:latest
7
8
9
    ports:
      - 80:80
    volumes:
Luca Freckmann's avatar
Luca Freckmann committed
10
      - sites_default:/var/www/html/sites/default
11
12
13
14
15
16
17
18
19

  database:
    image: mariadb
    volumes:
      - mysql:/var/lib/mysql
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: "yes"
      MYSQL_DATABASE: drupal
      MYSQL_USER: drupal
Luca Freckmann's avatar
Luca Freckmann committed
20
      MYSQL_PASSWORD: changeit
21
22

volumes:
Luca Freckmann's avatar
Luca Freckmann committed
23
  sites_default:
24
25
  mysql: