-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 844 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 844 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
services:
frontend:
image: ghcr.io/adamofig/dataclouder-front:latest
container_name: dataclouder-front-app
# Force platform to amd64 because the GHCR image was built for Intel
# This allows it to run on Mac M1/M2/M3 via emulation
platform: linux/amd64
ports:
- "7990:80"
volumes:
- ./public/config.json:/usr/share/nginx/html/assets/config.json:ro
depends_on:
- dataclouder-node
restart: unless-stopped
dataclouder-node:
image: ghcr.io/adamofig/dataclouder-dev-node:latest
platform: linux/amd64
container_name: dataclouder-node-container
ports:
- "${HOST_PORT:-7991}:7991"
env_file:
- .env
volumes:
- ./.cred/key.json:/app/.cred/key.json:ro
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/.cred/key.json
restart: unless-stopped