-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
96 lines (90 loc) · 2.32 KB
/
Copy pathdocker-compose.yml
File metadata and controls
96 lines (90 loc) · 2.32 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
services:
floci-ui:
build:
context: ./packages/frontend
dockerfile: Dockerfile.dev
volumes:
- ./packages/frontend/src:/app/src
- ./packages/frontend/index.html:/app/index.html
- ./packages/frontend/vite.config.ts:/app/vite.config.ts
- ./packages/frontend/tsconfig.json:/app/tsconfig.json
- ./packages/frontend/tsconfig.node.json:/app/tsconfig.node.json
ports:
- "4500:4500"
environment:
API_TARGET: http://floci-api:4501
VITE_USE_POLLING: "true"
depends_on:
- floci-api
networks:
- floci_default
floci-api:
build:
context: ./packages/api
dockerfile: Dockerfile.dev
volumes:
- ./packages/api/src:/app/src
ports:
- "4501:4501"
environment:
FLOCI_ENDPOINT: http://floci:4566
FLOCI_AZURE_ENDPOINT: http://floci-az:4577
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
FLOCI_GCP_ENDPOINT: http://floci-gcp:4588
FLOCI_GCP_PROJECT: floci-local
PORT: "4501"
depends_on:
- floci
networks:
- floci_default
floci:
image: floci/floci:latest-compat
ports:
- "4566:4566"
volumes:
- ./data:/app/data
- ./init/ready.d:/etc/floci/init/ready.d:ro
- ./init/files:/etc/floci/init/files:ro
environment:
FLOCI_STORAGE_MODE: persistent
networks:
floci_default:
aliases:
- localhost.floci.io
# Multi-cloud emulators — enabled with the "multicloud" profile:
# docker compose --profile multicloud up
floci-az:
image: floci/floci-az
profiles: ["multicloud"]
ports:
- "4577:4577"
networks:
- floci_default
floci-gcp:
image: floci/floci-gcp
profiles: ["multicloud"]
ports:
- "4588:4588"
networks:
- floci_default
floci-seed:
image: floci/floci-gcp
profiles: ["multicloud"]
command: ["/bin/sh", "/etc/floci/init/seed-clouds.sh"]
volumes:
- ./init:/etc/floci/init:ro
environment:
FLOCI_AZURE_ENDPOINT: http://floci-az:4577
FLOCI_AZURE_ACCOUNT_NAME: devstoreaccount1
FLOCI_GCP_ENDPOINT: http://floci-gcp:4588
FLOCI_GCP_PROJECT: floci-local
depends_on:
- floci-az
- floci-gcp
networks:
- floci_default
networks:
floci_default:
name: floci_default