-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
47 lines (42 loc) · 802 Bytes
/
docker-compose.yaml
File metadata and controls
47 lines (42 loc) · 802 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: "3.8"
services:
apoiaserver:
user: root
container_name: apoiaserver
build: .
depends_on:
- apoiamysql
ports:
- "8080:80"
env_file:
- .env.local
networks:
- apoia
apoiamysql:
container_name: apoiamysql
image: mysql:8.0.21
restart: always
expose:
- "3306"
ports:
- 5001:3306
environment:
TZ: "America/Sao_Paulo"
MYSQL_ROOT_PASSWORD: "apoia"
# MYSQL_ROOT_HOST: "%"
volumes:
- ./migration-001.sql:/docker-entrypoint-initdb.d/init.sql
networks:
- apoia
# - mysql-volume:/var/lib/mysql
# apoiaocr:
# image: ocr/img
# ports:
# - 8888:8888
# networks:
# - apoia
# command: npm start
volumes:
mysql-volume: {}
networks:
apoia: