-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
50 lines (49 loc) · 1.1 KB
/
compose.yaml
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
networks:
mindgames-network:
driver: bridge
services:
app:
container_name: mindgames_ng
build:
context: ./app
dockerfile: app.Dockerfile
ports:
- 4200:4200
expose:
- 4200
volumes:
- ./app:/project
- /project/node_modules
networks:
- mindgames-network
cms:
container_name: mindgames_cms
build:
context: ./drupal
dockerfile: cms.Dockerfile
ports:
- 8086:80
expose:
- 80
volumes:
- ./drupal/files:/opt/drupal/web/sites/default/files
- ./drupal/custom/modules:/opt/drupal/web/modules/custom
- ./drupal/custom/themes:/opt/drupal/web/themes/custom
- ./drupal/config/sync:/opt/drupal/config/sync
networks:
- mindgames-network
db:
container_name: mindgames_db
image: arm64v8/mysql
environment:
MYSQL_DATABASE: 'mindgames'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'password'
MYSQL_ROOT_PASSWORD: 'password'
expose:
- 3306
restart: always
volumes:
- ./data/database/data:/var/lib/mysql
networks:
- mindgames-network