-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
53 lines (52 loc) · 1.21 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
53 lines (52 loc) · 1.21 KB
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
version: '3'
services:
windbench-febe:
container_name: windbench-febe
build:
context: ./febe/
args:
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- BASE_URL=${BASE_URL}
image: cener/windbench-febe:1.0
environment:
SERVICE_80_TAGS: external
SERVICE_80_NAME: windbench
DB: windbench-db
backup_type: app
backup: "yes"
links:
- windbench-db
ports:
- "80"
networks:
- outside
depends_on:
- windbench-db
volumes:
- "files:/var/www/html/sites/default/files"
windbench-db:
container_name: windbench-db
build:
context: ./db/
args:
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
image: cener/windbench-db:1.0
labels:
backup: "yes"
backup_type: "db"
db_name: "OADrupal7"
db_type: "mysql"
networks:
- outside
volumes:
- "mysql:/var/lib/mysql"
- "./db/db_dump:/docker-entrypoint-initdb.d"
networks:
outside:
external:
name: servicediscovery_default
volumes:
mysql:
files: