forked from vwout/docker-openluup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (73 loc) · 2.37 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: '2.3'
services:
openluup-slim-master:
image: openluup:master-slim
build:
context: ./openluup-debian
ports:
- "3480:3480"
# environment:
# # Set the variable USER_DATA_JSON to provide a custom user_data.json file.
# # This will make openLuup initialize its userdata from this json file.
# # Notes:
# # - Configuration updates will not be update to this file.
# # - Plugins used in the configuration will not be installed automatically
# - USER_DATA_JSON=/etc/cmh-lu/my_user_data.json
restart: unless-stopped
volumes:
# The openLuup environment is stored in the container as /etc/cmh-ludl/
# This directory contains the plugins and user_data.
- type: volume
source: cmh-ludl
target: /etc/cmh-ludl/
# To add custom plugin code, a local directory can be mounted as /etc/cmh-lu/
- type: bind
source: ./cmh-lu
target: /etc/cmh-lu/
# To access logs and backups, use the respective volume mounts:
- cmh-ludl-logs:/etc/cmh-ludl/logs/
- cmh-ludl-backup:/etc/cmh-ludl/backup/
openluup-slim-development:
image: openluup:development-slim
extends:
service: openluup-slim-master
build:
args:
- OPENLUUP_BRANCH=development
openluup-alpine-master:
image: openluup:master-alpine
extends:
service: openluup-slim-master
build:
context: ./openluup-alpine
volumes:
- type: volume
source: cmh-ludl-alpine
target: /etc/cmh-ludl/
openluup-alpine-development:
image: openluup:development-alpine
extends:
service: openluup-alpine-master
build:
args:
- OPENLUUP_BRANCH=development
volumes:
# The volume cmh-ludl will contain the complete openLuup environment
# including all plugins and the user_data.json file.
# These volumes are persistent.
cmh-ludl:
name: openluup-env
labels:
org.label-schema.description: "openLuup environment with plugins and userdata"
cmh-ludl-alpine:
name: openluup-env-alpine
labels:
org.label-schema.description: "openLuup environment with plugins and userdata on Alpine"
cmh-ludl-logs:
name: openluup-logs
labels:
org.label-schema.description: "openLuup logs"
cmh-ludl-backup:
name: openluup-backups
labels:
org.label-schema.description: "openLuup automatic backups"