File tree Expand file tree Collapse file tree 29 files changed +775
-12
lines changed Expand file tree Collapse file tree 29 files changed +775
-12
lines changed Original file line number Diff line number Diff line change
1
+ services :
2
+ coder :
3
+ image : ghcr.io/coder/coder:v2.15.3
4
+ networks :
5
+ - dokploy-network
6
+ volumes :
7
+ - /var/run/docker.sock:/var/run/docker.sock
8
+ group_add :
9
+ - " 998"
10
+ depends_on :
11
+ db :
12
+ condition : service_healthy
13
+ environment :
14
+ - CODER_ACCESS_URL
15
+ - CODER_HTTP_ADDRESS
16
+ - CODER_PG_CONNECTION_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}?sslmode=disable
17
+
18
+ db :
19
+ image : postgres:17
20
+ networks :
21
+ - dokploy-network
22
+ environment :
23
+ - POSTGRES_PASSWORD
24
+ - POSTGRES_USER
25
+ - POSTGRES_DB
26
+ healthcheck :
27
+ test :
28
+ [
29
+ " CMD-SHELL" ,
30
+ " pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}" ,
31
+ ]
32
+ interval : 5s
33
+ timeout : 5s
34
+ retries : 5
35
+ volumes :
36
+ - db_coder_data:/var/lib/postgresql/data
37
+
38
+ volumes :
39
+ db_coder_data:
Original file line number Diff line number Diff line change
1
+ import {
2
+ type DomainSchema ,
3
+ type Schema ,
4
+ type Template ,
5
+ generateRandomDomain ,
6
+ } from "../utils" ;
7
+
8
+ export function generate ( schema : Schema ) : Template {
9
+ const domains : DomainSchema [ ] = [
10
+ {
11
+ host : generateRandomDomain ( schema ) ,
12
+ port : 7080 ,
13
+ serviceName : "coder" ,
14
+ } ,
15
+ ] ;
16
+
17
+ const envs = [
18
+ "CODER_ACCESS_URL=" ,
19
+ "CODER_HTTP_ADDRESS=0.0.0.0:7080" ,
20
+ "" ,
21
+ "POSTGRES_DB=coder" ,
22
+ "POSTGRES_USER=coder" ,
23
+ "POSTGRES_PASSWORD=VERY_STRONG_PASSWORD" ,
24
+ ] ;
25
+
26
+ return {
27
+ domains,
28
+ envs,
29
+ } ;
30
+ }
Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ services :
4
+ docmost :
5
+ image : docmost/docmost:0.4.1
6
+ depends_on :
7
+ - db
8
+ - redis
9
+ environment :
10
+ - APP_URL
11
+ - APP_SECRET
12
+ - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public
13
+ - REDIS_URL=redis://redis:6379
14
+ restart : unless-stopped
15
+ networks :
16
+ - dokploy-network
17
+ volumes :
18
+ - docmost:/app/data/storage
19
+
20
+ db :
21
+ image : postgres:16-alpine
22
+ environment :
23
+ - POSTGRES_DB
24
+ - POSTGRES_USER
25
+ - POSTGRES_PASSWORD
26
+ restart : unless-stopped
27
+ networks :
28
+ - dokploy-network
29
+ volumes :
30
+ - db_docmost_data:/var/lib/postgresql/data
31
+
32
+ redis :
33
+ image : redis:7.2-alpine
34
+ restart : unless-stopped
35
+ networks :
36
+ - dokploy-network
37
+ volumes :
38
+ - redis_docmost_data:/data
39
+
40
+ networks :
41
+ dokploy-network :
42
+ external : true
43
+
44
+ volumes :
45
+ docmost :
46
+ db_docmost_data :
47
+ redis_docmost_data:
Original file line number Diff line number Diff line change
1
+ import {
2
+ type DomainSchema ,
3
+ type Schema ,
4
+ type Template ,
5
+ generateRandomDomain ,
6
+ } from "../utils" ;
7
+
8
+ export function generate ( schema : Schema ) : Template {
9
+ const domains : DomainSchema [ ] = [
10
+ {
11
+ host : generateRandomDomain ( schema ) ,
12
+ port : 3000 ,
13
+ serviceName : "docmost" ,
14
+ } ,
15
+ ] ;
16
+
17
+ const envs = [
18
+ "POSTGRES_DB=docmost" ,
19
+ "POSTGRES_USER=docmost" ,
20
+ "POSTGRES_PASSWORD=STRONG_DB_PASSWORD" ,
21
+ "APP_URL=http://localhost:3000" ,
22
+ "APP_SECRET=VERY_STRONG_SECRET" ,
23
+ ] ;
24
+
25
+ return {
26
+ domains,
27
+ envs,
28
+ } ;
29
+ }
Original file line number Diff line number Diff line change 1
1
version : " 3.8"
2
2
services :
3
3
gitea :
4
- image : gitea/gitea:1.22.2
4
+ image : gitea/gitea:1.22.3
5
5
environment :
6
6
- USER_UID=${USER_UID}
7
7
- USER_GID=${USER_GID}
@@ -21,7 +21,7 @@ services:
21
21
- db
22
22
23
23
db :
24
- image : postgres:16
24
+ image : postgres:17
25
25
restart : always
26
26
environment :
27
27
- POSTGRES_USER=gitea
Original file line number Diff line number Diff line change
1
+ services :
2
+ all-in-one :
3
+ image : daveearley/hi.events-all-in-one:v0.8.0-beta.1
4
+ restart : always
5
+ environment :
6
+ - VITE_FRONTEND_URL=https://${DOMAIN}
7
+ - APP_FRONTEND_URL=https://${DOMAIN}
8
+ - VITE_API_URL_CLIENT=https://${DOMAIN}/api
9
+ - VITE_API_URL_SERVER=http://localhost:80/api
10
+ - VITE_STRIPE_PUBLISHABLE_KEY
11
+ - LOG_CHANNEL=stderr
12
+ - QUEUE_CONNECTION=sync
13
+ - MAIL_MAILER=array
14
+ - APP_KEY
15
+ - JWT_SECRET
16
+ - FILESYSTEM_PUBLIC_DISK=public
17
+ - FILESYSTEM_PRIVATE_DISK=local
18
+ - APP_CDN_URL=https://${DOMAIN}/storage
19
+ - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}
20
+ - MAIL_MAILER
21
+ - MAIL_HOST
22
+ - MAIL_PORT
23
+ - MAIL_FROM_ADDRESS
24
+ - MAIL_FROM_NAME
25
+ depends_on :
26
+ - postgres
27
+
28
+ postgres :
29
+ image : elestio/postgres:16
30
+ restart : always
31
+ networks :
32
+ - dokploy-network
33
+ environment :
34
+ - POSTGRES_DB
35
+ - POSTGRES_USER
36
+ - POSTGRES_PASSWORD
37
+ volumes :
38
+ - pg_hi-events_data:/var/lib/postgresql/data
39
+
40
+ networks :
41
+ dokploy-network :
42
+ external : true
43
+
44
+ volumes :
45
+ pg_hi-events_data:
Original file line number Diff line number Diff line change
1
+ import {
2
+ type DomainSchema ,
3
+ type Schema ,
4
+ type Template ,
5
+ generateRandomDomain ,
6
+ } from "../utils" ;
7
+
8
+ export function generate ( schema : Schema ) : Template {
9
+ const domains : DomainSchema [ ] = [
10
+ {
11
+ host : generateRandomDomain ( schema ) ,
12
+ port : 80 ,
13
+ serviceName : "all-in-one" ,
14
+ } ,
15
+ ] ;
16
+
17
+ const envs = [
18
+ "# change domain here" ,
19
+ "DOMAIN=my-events.com" ,
20
+ "" ,
21
+ "POSTGRES_DB=hievents" ,
22
+ "POSTGRES_USER=hievents" ,
23
+ "POSTGRES_PASSWORD=VERY_STRONG_PASSWORD" ,
24
+ "" ,
25
+ "VITE_STRIPE_PUBLISHABLE_KEY=" ,
26
+ "" ,
27
+ "APP_KEY=my-app-key" ,
28
+ "JWT_SECRET=STRONG_JWT_SECRET" ,
29
+ "" ,
30
+ "MAIL_MAILER=" ,
31
+ "MAIL_HOST=" ,
32
+ "MAIL_PORT=" ,
33
+ "MAIL_FROM_ADDRESS=" ,
34
+ "MAIL_FROM_NAME=" ,
35
+ ] ;
36
+
37
+ return {
38
+ domains,
39
+ envs,
40
+ } ;
41
+ }
Original file line number Diff line number Diff line change
1
+ services :
2
+ db-migration :
3
+ depends_on :
4
+ db :
5
+ condition : service_healthy
6
+ image : infisical/infisical:v0.90.1-postgres
7
+ environment :
8
+ - NODE_ENV=production
9
+ - ENCRYPTION_KEY
10
+ - AUTH_SECRET
11
+ - SITE_URL
12
+ - DB_CONNECTION_URI=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
13
+ - REDIS_URL=redis://redis:6379
14
+ - SMTP_HOST
15
+ - SMTP_PORT
16
+ - SMTP_FROM_NAME
17
+ - SMTP_USERNAME
18
+ - SMTP_PASSWORD
19
+ - SMTP_SECURE=true
20
+ command : npm run migration:latest
21
+ pull_policy : always
22
+ networks :
23
+ - dokploy-network
24
+
25
+ backend :
26
+ restart : unless-stopped
27
+ depends_on :
28
+ db :
29
+ condition : service_healthy
30
+ redis :
31
+ condition : service_started
32
+ db-migration :
33
+ condition : service_completed_successfully
34
+ image : infisical/infisical:v0.90.1-postgres
35
+ pull_policy : always
36
+ environment :
37
+ - NODE_ENV=production
38
+ - ENCRYPTION_KEY
39
+ - AUTH_SECRET
40
+ - SITE_URL
41
+ - DB_CONNECTION_URI=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
42
+ - REDIS_URL=redis://redis:6379
43
+ - SMTP_HOST
44
+ - SMTP_PORT
45
+ - SMTP_FROM_NAME
46
+ - SMTP_USERNAME
47
+ - SMTP_PASSWORD
48
+ - SMTP_SECURE=true
49
+ networks :
50
+ - dokploy-network
51
+
52
+ redis :
53
+ image : redis:7.4.1
54
+ env_file : .env
55
+ restart : always
56
+ environment :
57
+ - ALLOW_EMPTY_PASSWORD=yes
58
+ networks :
59
+ - dokploy-network
60
+ volumes :
61
+ - redis_infisical_data:/data
62
+
63
+ db :
64
+ image : postgres:14-alpine
65
+ restart : always
66
+ environment :
67
+ - POSTGRES_PASSWORD
68
+ - POSTGRES_USER
69
+ - POSTGRES_DB
70
+ volumes :
71
+ - pg_infisical_data:/var/lib/postgresql/data
72
+ networks :
73
+ - dokploy-network
74
+ healthcheck :
75
+ test : " pg_isready --username=${POSTGRES_USER} && psql --username=${POSTGRES_USER} --list"
76
+ interval : 5s
77
+ timeout : 10s
78
+ retries : 10
79
+
80
+ volumes :
81
+ pg_infisical_data :
82
+ redis_infisical_data :
83
+
84
+ networks :
85
+ dokploy-network :
86
+ external : true
87
+
You can’t perform that action at this time.
0 commit comments