-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
50 lines (46 loc) · 1018 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
46
47
48
49
50
version: '3.1'
services:
fluig:
build:
context: ./image
dockerfile: Dockerfile
image: fluig-docker
volumes:
- fluig-volume:/var/fluig-volume
ports:
- 8080:8080
- 7777:7777
- 8888:8888
- 8000:8000
- 8983:8983
- 9990:9990
networks:
- fluigNetwork
depends_on:
- mysql
- mailhog
mysql:
image: mysql:8
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_general_ci', '--lower_case_table_names=1', '--default_storage_engine=InnoDB']
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: 'rootpassword'
MYSQL_ROOT_HOST: "%"
MYSQL_DATABASE: 'fluig'
MYSQL_USER: 'fluig'
MYSQL_PASSWORD: 'fluigpassword'
networks:
- fluigNetwork
mailhog:
image: mailhog/mailhog:latest
ports:
- 1025:1025
- 8025:8025
networks:
- fluigNetwork
networks:
fluigNetwork:
driver: bridge
volumes:
fluig-volume: