-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
executable file
·63 lines (58 loc) · 1.63 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
version: "3.9"
services:
services-edu-connector-database:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: 'connector'
MYSQL_USER: 'connector'
MYSQL_PASSWORD: 'connector'
MYSQL_ROOT_PASSWORD: 'connector'
volumes:
- services-edu-connector-database-data:/var/lib/mysql
networks:
- connector
services-edu-connector:
image: edu_sharing-community-services-connector:dev
environment:
DATABASE_HOST: services-edu-connector-database
DATABASE_PORT: 3306
DATABASE_NAME: connector
DATABASE_USER: connector
DATABASE_PASSWORD: connector
volumes:
- services-edu-connector-data:/var/data
depends_on:
- services-edu-connector-database
networks:
- connector
- edu-sharing
ports:
- "80:80"
services-edu-connector-init:
image: edu_sharing-community-services-connector:dev
build:
context: service/src/main
dockerfile: Dockerfile
entrypoint: ["init.sh"]
environment:
DEBUG: true
CONNECTOR_INTERNAL_HOST: services-edu-connector
CONNECTOR_INTERNAL_PORT: "80"
REPOSITORY_SERVICE_PROT: "http"
REPOSITORY_SERVICE_HOST: repository-service
REPOSITORY_SERVICE_PORT: "8080"
REPOSITORY_SERVICE_PATH: "/edu-sharing"
REPOSITORY_SERVICE_ADMIN_PASS: "${REPOSITORY_SERVICE_ADMIN_PASS:-admin}"
depends_on:
- services-edu-connector
networks:
- edu-sharing
networks:
edu-connector:
edu-sharing:
external:
name: ${EDU_SHARING_NETWORK:-edu-sharing_default}
volumes:
services-edu-connector-database-data:
services-edu-connector-data: