This repository was archived by the owner on Apr 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
76 lines (76 loc) · 2.56 KB
/
docker-compose.yml
File metadata and controls
76 lines (76 loc) · 2.56 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
72
73
74
75
76
services:
# WebSocket backend
scribbleshare-room:
image: stzups/scribbleshare-room
build:
context: scribbleshare-room
ports:
- "8080:80"
depends_on:
scribbleshare-postgres:
condition: service_healthy
# scribbleshare-keydb:
# condition: service_healthy
environment:
scribbleshare.ssl: "false"
scribbleshare.postgres.url: "jdbc:postgresql://scribbleshare-postgres:5432/scribbleshare"
scribbleshare.postgres.user: "scribbleshare_room"
scribbleshare.postgres.password: "changeme"
scribbleshare.domain: "scribbleshare.com"
# scribbleshare.redis.url: "redis://default:changeme@scribbleshare-keydb:6379"
# App backend
scribbleshare-app:
image: stzups/scribbleshare-app
ports:
- "80:80"
build:
context: scribbleshare-app
depends_on:
scribbleshare-postgres:
condition: service_healthy
# scribbleshare-keydb:
# condition: service_healthy
environment:
scribbleshare.ssl: "false"
scribbleshare.postgres.url: "jdbc:postgresql://scribbleshare-postgres:5432/scribbleshare"
scribbleshare.postgres.user: "scribbleshare_backend"
scribbleshare.postgres.password: "changeme"
scribbleshare.domain: "scribbleshare.com"
# scribbleshare.redis.url: "redis://default:changeme@scribbleshare-keydb:6379"
# Reverse proxy
# scribbleshare-nginx:
# image: stzups/scribbleshare-nginx
# networks:
# - scribbleshare-network
# - scribbleshare-external-network
# build:
# context: scribbleshare-nginx
# depends_on:
# scribbleshare-app:
# condition: service_healthy
# ports:
# - "80:80"
# Database
scribbleshare-postgres:
image: stzups/scribbleshare-postgres
build:
context: scribbleshare-postgres
# ports:
# - "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 5s
timeout: 5s
retries: 5
environment:
POSTGRES_PASSWORD: "changeme"
# scribbleshare-keydb:
# build:
# context: scribbleshare-keydb
# ports:
# - "6379:6379"
# healthcheck:
# test: [ "CMD", "keydb-cli", "ping" ]
# interval: 5s
# timeout: 5s
# retries: 5