-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-include.medienhaus-cms.yml
46 lines (40 loc) · 1.35 KB
/
docker-include.medienhaus-cms.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
services:
# ------------------------------------------------------
# medienhaus-cms
# ------------------------------------------------------
medienhaus-cms:
build: ./medienhaus-cms
container_name: medienhaus-cms
restart: unless-stopped
depends_on:
- traefik
- matrix-synapse
environment:
NODE_ENV: development
labels:
traefik.enable: "true"
traefik.http.routers.medienhaus-cms.entrypoints: "web"
#traefik.http.routers.medienhaus-cms.entrypoints: "websecure"
#traefik.http.routers.medienhaus-cms.tls.certresolver: "myresolver"
traefik.http.routers.medienhaus-cms.rule: "Host(`cms.${SPACES_HOSTNAME}`)"
#ports:
# - "3000:3000"
volumes:
- ./config/medienhaus-cms.config.json:/usr/src/app/src/config.json:ro
- ./config/medienhaus-cms.env:/usr/src/app/.env:ro
- ./medienhaus-cms:/usr/src/app:rw
- medienhaus-cms--node_modules:/usr/src/app/node_modules:rw
# ------------------------------------------------------
# networks (example)
# ------------------------------------------------------
#networks:
# default:
# name: medienhaus-spaces
# driver: bridge
# external: true
# ------------------------------------------------------
# volumes
# ------------------------------------------------------
volumes:
medienhaus-cms--node_modules:
driver: local