forked from openedx-unsupported/blockstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-testserver-38.yml
41 lines (35 loc) · 1 KB
/
docker-compose-testserver-38.yml
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
# Compose file to run a (second) ephemeral instance of Blockstore that is used only
# for edx-platform runtime tests. This instance is isolated and runs on port 18251.
version: '3'
services:
blockstore:
container_name: edx.${OPENEDX_PROJECT_NAME:-devstack}.blockstore-test
image: opencraft/blockstore:latest
build:
context: .
dockerfile: Dockerfile-38
stdin_open: true
tty: true
entrypoint: ["/bin/bash"]
networks:
default:
devstack:
aliases:
- edx.devstack.blockstore-test
ports:
- "18251:18251"
volumes:
- ./:/blockstore/app/:cached
# Change when all users will need a new venv, like after a Python version update.
- blockstore_venv_3_8_5:/blockstore/venv/
environment:
- MYSQL_DATABASE=blockstore_test_db
- MYSQL_USER=root
- MYSQL_HOST=mysql57
- MYSQL_PORT=3306
networks:
devstack:
external:
name: ${OPENEDX_PROJECT_NAME:-devstack}_default
volumes:
blockstore_venv_3_8_5: