forked from code-dot-org/code-dot-org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-compose.yml
More file actions
30 lines (28 loc) · 780 Bytes
/
Copy pathsetup-compose.yml
File metadata and controls
30 lines (28 loc) · 780 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
# Docker Compose file for running the site locally.
#
# Set the FIXUID and FIXGID env variables with these commands (or put them in your .bash_profile / .bashrc):
# export FIXUID=$(id -u)
# export FIXGID=$(id -g)
#
# then run:
# docker-compose -f unit-tests-compose.yml up
#
# To clean up:
# docker-compose -f unit-tests-compose.yml down
version: "3"
services:
site:
image: codedotorg/code-dot-org:1.1
user: ${FIXUID:-1000}:${FIXGID:-1000}
volumes:
- ../:/home/circleci/code-dot-org:delegated
- rbenv:/home/circleci/.rbenv
- mysqldata:/var/lib/mysql
- yarncache:/home/circleci/.cache
- gcloud_config:/home/circleci/.config/gcloud
command: bash -c "docker/dev_setup.sh"
volumes:
mysqldata:
rbenv:
yarncache:
gcloud_config: