-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
81 lines (80 loc) · 1.75 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "3"
services:
db:
image: mysql:8.0.18
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- 3306:3306
volumes:
#- "./persistence/mysql:/var/lib/mysql"
- ./api/db_schemas:/docker-entrypoint-initdb.d
environment:
MYSQL_ROOT_PASSWORD: ${DB_PWD}
security_opt:
- seccomp:unconfined
adminer:
image: adminer
restart: always
ports:
- 8087:8087
command: docker-php-entrypoint php -S [::]:8087 -t /var/www/html
prot:
image: prot:latest
tty: true
stdin_open: true
restart: always
# networks:
# - internalNetwork
entrypoint: ./api-server
environment:
TZ: Etc/UTC
PROT_DB_USER: root
PROT_DB_SCHEMA: prot
PROT_DB_PASSW: ${DB_PWD}
PROT_DB_HOST: db
PROT_DB_PORT: 3306
PROT_DB_DEBUG: "true"
ports:
- 3000:3000
expose:
- "3000"
depends_on:
- db
# jobs-watcher:
# image: prot:latest
# tty: true
# stdin_open: true
# restart: always
# # networks:
# # - internalNetwork
# entrypoint: ./jobs-watcher
# environment:
# TZ: Etc/UTC
# PROT_DB_USER: root
# PROT_DB_SCHEMA: prot
# PROT_DB_PASSW: ${DB_PWD}
# PROT_DB_HOST: db
# PROT_DB_PORT: 3306
# depends_on:
# - db
app-discovery-rescheduler:
image: prot:latest
tty: true
stdin_open: true
restart: always
# networks:
# - internalNetwork
entrypoint: ./app-discovery-rescheduler
environment:
TZ: Etc/UTC
PROT_DB_USER: root
PROT_DB_SCHEMA: prot
PROT_DB_PASSW: ${DB_PWD}
PROT_DB_HOST: db
PROT_DB_PORT: 3306
depends_on:
- db
networks:
internalNetwork:
external: false