-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 813 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 813 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
version: '3.7'
services:
flat-search:
build:
context: .
dockerfile: Dockerfile
container_name: flatsearch
depends_on:
- storage
links:
- storage:storage
environment:
DB_HOST: storage
DB_NAME: flat-search
DB_USER: flat-agent
DB_PASSWORD: test-flat-agent
volumes:
- go-pkg:/go/pkg
- go-cache:/.cache
storage:
container_name: flatsearch-storage
image: mysql:8.0.19
environment:
MYSQL_ROOT_PASSWORD: test100500
MYSQL_DATABASE: flat-search
MYSQL_USER: flat-agent
MYSQL_PASSWORD: test-flat-agent
ports:
- 3306:3306
volumes:
go-cache:
go-pkg: