-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 982 Bytes
/
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
version: "3.7"
services:
api:
container_name: api
build:
context: .
dockerfile: ./.docker/api.dockerfile
ports:
- "8080:8080"
restart: always
volumes:
- './api/Camel:/app/Camel'
environment:
- APP_PATH=/app
camel:
container_name: gateway
build:
context: .
dockerfile: ./.docker/CAMEL.Dockerfile
args:
- BUILD_DATE=${BUILD_DATE}
- VCS_REF=${VCS_REF}
- VERSION=${VERSION}
ports:
- "8888:80"
restart: always
volumes:
- './admin:/var/www/CAMEL/admin'
- './auth:/var/www/CAMEL/auth'
- './camel.conf:/var/www/CAMEL/camel.conf:ro'
- './public:/var/www/CAMEL/public'
db:
container_name: camel-database
build:
context: .
dockerfile: ./.docker/DB.Dockerfile
restart: on-failure
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: CAMEL
MYSQL_USER: camel
MYSQL_PASSWORD: abcdef