forked from falcondev-oss/github-actions-cache-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (40 loc) · 942 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (40 loc) · 942 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
services:
postgres:
image: postgres:15
ports:
- 5432:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
mysql:
image: mysql:8
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: mysql
minio:
image: quay.io/minio/minio:latest
entrypoint: sh
command: -c 'mkdir -p /data/test && /usr/bin/minio server /data'
ports:
- 9000:9000
environment:
MINIO_ROOT_USER: access_key
MINIO_ROOT_PASSWORD: secret_key
cache-server:
build:
dockerfile: Dockerfile
context: .
ports:
- '3000:3000'
depends_on:
- minio
environment:
API_BASE_URL: http://localhost:3000
STORAGE_DRIVER: s3
STORAGE_S3_BUCKET: test
AWS_ACCESS_KEY_ID: access_key
AWS_SECRET_ACCESS_KEY: secret_key
AWS_ENDPOINT_URL: http://minio:9000