-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.yml
74 lines (73 loc) · 1.62 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
version: '3.4'
services:
web:
image: nginx:stable-alpine
container_name: web
depends_on:
- markaspot
networks:
- drupal
volumes:
- ./conf/nginx.conf:/etc/nginx/conf.d/default.conf
- .:/app/data
ports:
- 80:80
markaspot:
image: markaspot/markaspot:latest
container_name: markaspot
environment:
VIRTUAL_HOST: 'web'
PHP_MEMORY_LIMIT: -1
XDEBUG_ENABLED: 0
MARKASPOT_MARIADB_SERVICE_HOST: 'db'
DRUPAL_DATABASE_PORT: '3306'
DRUPAL_DATABASE_NAME: 'drupal'
DRUPAL_DATABASE_USERNAME: 'drupal'
DRUPAL_DATABASE_PASSWORD: 'drupal'
DRUPAL_HASH_SALT: 'SET-IT'
COMPOSER_MEMORY_LIMIT: '-1'
restart: on-failure
# Share the project into the container for local development. Comment out
# this line to test the production-ready pre-built container codebase.
# volumes: ['.:/app/data:rw,delegated']
volumes:
- .:/app/data
depends_on:
- db
networks:
- drupal
db:
image: mariadb:10
container_name: db
environment:
MYSQL_USER: drupal
MYSQL_PASSWORD: drupal
MYSQL_DATABASE: drupal
MYSQL_ROOT_PASSWORD: ''
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
#restart: on-failure
ports:
- "3306:3306"
volumes:
- db_data:/var/lib/mysql
networks:
drupal:
aliases:
- db
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin
restart: always
ports:
- 8080:80
environment:
- PMA_ARBITRARY=1
depends_on:
- db
networks:
- drupal
networks:
drupal:
volumes:
app:
db_data: