forked from udbc/catalogue
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 819 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 819 Bytes
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
version: '2'
services:
catalogue:
build:
context: .
dockerfile: ./docker/catalogue/Dockerfile
image: weaveworksdemos/catalogue-dev
hostname: catalogue
restart: always
cap_drop:
- all
cap_add:
- NET_BIND_SERVICE
read_only: true
environment:
- reschedule=on-node-failure
ports:
- "8080:80"
catalogue-db:
build:
context: ./docker/catalogue-db/
image: weaveworksdemos/catalogue-dev-db
hostname: catalogue-db
restart: always
environment:
- reschedule=on-node-failure
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_ALLOW_EMPTY_PASSWORD=true
- MYSQL_DATABASE=socksdb