-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (47 loc) · 1.43 KB
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (47 loc) · 1.43 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
services:
image-service:
image: us-central1-docker.pkg.dev/specautomation-458709/microsites/microsites-image-service:dev
platform: linux/amd64
container_name: ob-image-service-dev
ports:
- "8080:8080"
environment:
NODE_ENV: development
IN_DOCKER: "true"
IMAGE_SERVICE_AUTH_DISABLED: "true"
CACHE_DIR: /cache
CACHE_PUBLIC_HOST: http://image-service:8080
volumes:
- diagram-cache:/cache
web:
build:
context: .
dockerfile: Dockerfile
args:
ASTRO_BASE_PATH: "/open-badges/"
platform: linux/amd64
image: ob-microsite:local
container_name: ob-microsite-dev
ports:
- "4321:4321"
depends_on:
- image-service
environment:
NODE_ENV: development
IN_DOCKER: "true"
ASTRO_BASE_PATH: "/open-badges/"
MICROSITE_CONTENT_ROOT: "/app/content"
DISABLE_AUTH: "true"
HOST: "0.0.0.0"
IMAGE_SERVICE_URL: http://image-service:8080
IMAGE_SERVICE_AUTH_DISABLED: "true"
LATEST_SPEC_VERSION: "v3p0"
# These should be set in a .env file and not committed to source control.
# Use the .env.example file as a template for the required variables.
MPS_API_KEY: ${MPS_API_KEY}
MPS_HOST: ${MPS_HOST}
FASTCOMMENTS_TENANT_ID: ${FASTCOMMENTS_TENANT_ID}
FASTCOMMENTS_ENABLED: ${FASTCOMMENTS_ENABLED}
COMMENTS_SITE_KEY: ${COMMENTS_SITE_KEY}
volumes:
diagram-cache: