-
Notifications
You must be signed in to change notification settings - Fork 33
/
docker-compose.yml
53 lines (46 loc) · 1.16 KB
/
docker-compose.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
41
42
43
44
45
46
47
48
49
50
51
52
53
services:
# this file only contains a small part of the container definitions
# please check the compose files in the 'compose' folder
# you should use the built in bin/ scripts to run commands as it makes your life easier
# otherwise you need to run something like:
# docker compose -f docker-compose.yml -f compose/nginx.yml -f compose/pgsql.yml -f compose/php.yml up -d pgsql php-7.3
nodejs:
image: node:20
container_name: totara_nodejs
environment:
TZ: ${TIME_ZONE}
volumes:
- ${LOCAL_SRC}:${REMOTE_SRC}
- totara-data:${REMOTE_DATA}
working_dir: ${REMOTE_SRC}
mailcatcher:
image: tophfr/mailcatcher
container_name: totara_mailcatcher
ports:
- "8080:80"
environment:
TZ: ${TIME_ZONE}
networks:
- totara
redis:
image: redis
# activate persistency
command: "redis-server --appendonly yes"
environment:
TZ: ${TIME_ZONE}
volumes:
- redis-data:/data
networks:
- totara
memcached:
image: memcached
environment:
TZ: ${TIME_ZONE}
networks:
- totara
volumes:
totara-data:
redis-data:
networks:
totara:
name: totara