-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
44 lines (43 loc) · 1.02 KB
/
docker-compose.yaml
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
version: '3'
services:
df2-server:
build:
context: .
dockerfile: dev.Dockerfile
expose:
- "4201"
ports:
- "4201:4201"
depends_on:
- mysql
- minio
- memcache
volumes:
- ./src:/app/src
healthcheck:
test: [ "CMD", "curl", "localhost:4201/ping/" ]
timeout: 5s
interval: 3s
retries: 10
#command: ["ls", "-al", "src"]
mysql:
image: mysql:8.0.33-debian
environment:
MYSQL_ROOT_PASSWORD: my-secret-pw
expose: # exposes 3306 on the internal container network for the server
- "3306"
ports: # allows connection from integration tests, or an external mysql client.
- "33061:3306"
minio:
image: quay.io/minio/minio:RELEASE.2023-05-18T00-05-36Z
expose:
- "9000"
ports:
- "9000:9000"
command: ["server", "/data"]
memcache:
image: memcached:1.6.20-alpine3.18
expose: # exposes 3306 on the internal container network for the server
- "11211"
ports:
- "11211:11211"