-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (60 loc) · 1.26 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
version: '3.8'
networks:
app-tier:
driver: bridge
services:
db:
image: mysql:latest
container_name: UP_DB
restart: always
environment:
MYSQL_ROOT_PASSWORD: school
MYSQL_PASSWORD: school
MYSQL_DATABASE: School_DB
MYSQL_USER: generic_operator
command: --default-authentication-plugin=mysql_native_password --bind-address=0.0.0.0 --explicit_defaults_for_timestamp
volumes:
- ./sql:/docker-entrypoint-initdb.d
ports:
- "3306:3306"
networks:
- app-tier
adminer:
image: adminer:latest
environment:
ADMINER_DESIGN: galkaev
container_name: UP_Adminer
restart: always
ports:
- "8080:8080"
networks:
- app-tier
api:
platform: linux/amd64
container_name: UP_API
stdin_open: true
tty: true
restart: always
build: .
ports:
- "5555:5555"
volumes:
- ./App:/SmartUP/App
networks:
- app-tier
#scrapper:
# stdin_open: true
# tty: true
# container_name: UP_Scrapper
# build:
# context: .
# dockerfile: Dockerfile.scrapper
# volumes:
# - ./App:/SmartUP/App
# - ./crontab:/etc/cron.d/scraper-cron
# depends_on:
# - db
# - adminer
# - api
# networks:
# - app-tier