-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
39 lines (36 loc) · 861 Bytes
/
docker-compose.test.yml
File metadata and controls
39 lines (36 loc) · 861 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
31
32
33
34
35
36
37
38
39
---
services:
app:
build:
context: .
args:
# To use a specific Moodle version, set MOODLE_VERSION to git release tag.
# You can find the list of available tags at:
# https://api.github.com/repos/moodle/moodle/tags
#
# Example:
# MOODLE_VERSION: v4.5.3
# MOODLE_VERSION: v5.0.1
MOODLE_VERSION: main
environment:
- SITE_URL=http://app:8080
depends_on:
- postgres
redis:
image: redis:alpine
restart: unless-stopped
postgres:
image: postgres:alpine
environment:
- POSTGRES_PASSWORD=moodle
- POSTGRES_USER=moodle
- POSTGRES_DB=moodle
sut:
image: alpine:latest
depends_on:
- app
environment:
- SOURCE_BRANCH
command: /tmp/run_tests.sh
volumes:
- "./run_tests.sh:/tmp/run_tests.sh:ro"