Repository navigation
Expand file tree
/
Copy pathdocker-compose-public-restart.yml.template
More file actions
71 lines (66 loc) · 2.37 KB
/
Copy pathdocker-compose-public-restart.yml.template
File metadata and controls
71 lines (66 loc) · 2.37 KB
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
services:
##############################################################################
# PODS
##############################################################################
${TV_CSS1}:
profiles: [ "pod", "backend" ]
image: solidproject/community-server:7
ports:
- "${TV_CSS1_HOST_PORT}:${TV_CSS1_CONTAINER_PORT}"
environment:
- CSS_BASE_URL=${TV_CSS1_BASE_URL}
- CSS_PORT=${TV_CSS1_CONTAINER_PORT}
- CSS_CONFIG=/config/server.json
volumes:
- type: bind
source: ./actors/on-css1/pod-template
target: /config/pod-template
- type: bind
source: ./actors/on-css1/config/css-users.json
target: /config/css-users.json
- type: bind
source: ./common/css.json
target: /config/server.json
- type: bind
source: ./custom-css
target: /custom-css
# these lines allow an easy view on what's in the pod's data
- type: bind
source: ./docker-run/data/${TV_CSS1}
target: /data
# these lines make the current computer's users and groups available in the container
- /etc/passwd:/etc/passwd:ro
- /etc/group:/etc/group:ro
healthcheck:
test: "[ -e healthy.flag ] || if wget --no-check-certificate ${TV_CSS1_BASE_URL}/ --spider; then touch healthy.flag; else false; fi"
interval: 15s
timeout: 10s
retries: 65
start_period: 30s
##############################################################################
# FRONTEND
##############################################################################
${TV_VIEWER1}:
profiles: [ "frontend" ]
image: nginx:1.25.2-alpine
ports:
- "${TV_VIEWER1_HOST_PORT}:${TV_VIEWER1_CONTAINER_PORT}"
volumes:
- ./actors/viewer1/nginx/conf.d:/etc/nginx/conf.d:ro
- ./actors/viewer1/html:/usr/share/nginx/html
${TV_VIEWER2}:
profiles: [ "frontend" ]
image: nginx:1.25.2-alpine
ports:
- "${TV_VIEWER2_HOST_PORT}:${TV_VIEWER2_CONTAINER_PORT}"
volumes:
- ./actors/viewer2/nginx/conf.d:/etc/nginx/conf.d:ro
- ./actors/viewer2/html:/usr/share/nginx/html
${TV_LOAMA}:
profiles: [ "frontend" ]
image: nginx:1.25.2-alpine
ports:
- "${TV_LOAMA_HOST_PORT}:${TV_LOAMA_CONTAINER_PORT}"
volumes:
- ./actors/loama/nginx/conf.d:/etc/nginx/conf.d:ro
- ./actors/loama/html:/usr/share/nginx/html