forked from code-dot-org/code-dot-org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (44 loc) · 1.77 KB
/
Copy pathdocker-compose.yml
File metadata and controls
49 lines (44 loc) · 1.77 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
# Our entry into our docker development environment is described here.
# For an overview of how to use the Docker Development Environment,
# see `./docker/developers/README.md`
# It is split among a few different files that are then merged together via
# the following `include` section.
include:
# Services the dashboard server depends on
- path: ./docker/developers/docker-compose.mysql.yml
- path: ./docker/developers/docker-compose.redis.yml
- path: ./docker/developers/docker-compose.minio.yml
# The dashboard server itself
- path: ./docker/developers/docker-compose.dashboard.yml
services:
all-services:
image: alpine
depends_on:
- dashboard-services
- s3-services
command: >
/bin/sh -c "
echo 'All dashboard services running (MySQL, Redis, MinIO).' &&
echo &&
echo 'To shut down all containers:' &&
echo 'docker compose stop' &&
echo &&
echo 'To run the native dashboard server:' &&
echo './bin/dashboard-server' &&
echo &&
echo 'Be sure to have the following in your locals.yml to link to the contained services:' &&
echo &&
echo 'db_writer: mysql://root:password@127.0.0.1/' &&
echo 'db_endpoint_writer: 127.0.0.1' &&
echo 'db_credential_admin:' &&
echo ' username: user' &&
echo ' password: password' &&
echo 'cloudfront_key_pair_id: localoverride' &&
echo 'cloudfront_private_key: localoverride' &&
echo 'slack_bot_token: localoverride' &&
echo \"properties_encryption_key: ''\" &&
echo 'aws_s3_endpoint: http://localhost:9000' &&
echo 'aws_s3_access_key_id: local-development' &&
echo 'aws_s3_secret_access_key: allstudents' &&
echo 'aws_s3_emulated: true'
"