Upscale revised this gist . Go to revision
1 file changed, 112 insertions
gistfile1.txt(file created)
@@ -0,0 +1,112 @@ | |||
1 | + | --- | |
2 | + | version: "3.5" | |
3 | + | ||
4 | + | networks: | |
5 | + | penpot: | |
6 | + | ||
7 | + | services: | |
8 | + | ||
9 | + | penpot-frontend: | |
10 | + | image: "penpotapp/frontend:latest" | |
11 | + | restart: always | |
12 | + | ports: | |
13 | + | - 80 | |
14 | + | ||
15 | + | volumes: | |
16 | + | - /volume1/docker/penpot/assets:/opt/data/assets | |
17 | + | ||
18 | + | depends_on: | |
19 | + | - penpot-backend | |
20 | + | - penpot-exporter | |
21 | + | ||
22 | + | networks: | |
23 | + | - penpot | |
24 | + | ||
25 | + | - PENPOT_FLAGS=enable-registration enable-login-with-password | |
26 | + | ||
27 | + | penpot-backend: | |
28 | + | image: "penpotapp/backend:latest" | |
29 | + | restart: always | |
30 | + | ||
31 | + | volumes: | |
32 | + | - /volume1/docker/penpot/assets:/opt/data/assets | |
33 | + | ||
34 | + | depends_on: | |
35 | + | - penpot-postgres | |
36 | + | - penpot-redis | |
37 | + | ||
38 | + | networks: | |
39 | + | - penpot | |
40 | + | ||
41 | + | environment: | |
42 | + | - email-verification | |
43 | + | - login-with-github | |
44 | + | - login-with-google | |
45 | + | - login-with-password | |
46 | + | - registration | |
47 | + | - secure-session-cookies | |
48 | + | - smtp | |
49 | + | - telemetry | |
50 | + | - webhooks | |
51 | + | - prepl-server | |
52 | + | - PENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification enable-smtp enable-prepl-server | |
53 | + | - PENPOT_SECRET_KEY=Yoursupersecretkey | |
54 | + | - PENPOT_PUBLIC_URI=https://penpot.yoururl.com | |
55 | + | - PENPOT_DATABASE_URI=postgresql://penpot-postgres/penpot | |
56 | + | - PENPOT_DATABASE_USERNAME=penpot | |
57 | + | - PENPOT_DATABASE_PASSWORD=penpot | |
58 | + | - PENPOT_REDIS_URI=redis://penpot-redis/0 | |
59 | + | - PENPOT_ASSETS_STORAGE_BACKEND=assets-fs | |
60 | + | - PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets | |
61 | + | - PENPOT_TELEMETRY_ENABLED=true | |
62 | + | - PENPOT_SMTP_DEFAULT_FROM=yourname@gmail.com | |
63 | + | - PENPOT_SMTP_DEFAULT_REPLY_TO=yourname@gmail.com | |
64 | + | - PENPOT_SMTP_HOST=smtp.google.com | |
65 | + | - PENPOT_SMTP_PORT=587 | |
66 | + | - PENPOT_SMTP_USERNAME=yourname@gmail.com | |
67 | + | - PENPOT_SMTP_PASSWORD=yourapptoken | |
68 | + | - PENPOT_SMTP_TLS=true | |
69 | + | - PENPOT_SMTP_SSL=false | |
70 | + | ||
71 | + | penpot-exporter: | |
72 | + | image: "penpotapp/exporter:latest" | |
73 | + | restart: always | |
74 | + | networks: | |
75 | + | - penpot | |
76 | + | ||
77 | + | environment: | |
78 | + | - PENPOT_PUBLIC_URI=http://penpot-frontend | |
79 | + | - PENPOT_REDIS_URI=redis://penpot-redis/0 | |
80 | + | ||
81 | + | penpot-postgres: | |
82 | + | image: "postgres:15" | |
83 | + | restart: always | |
84 | + | stop_signal: SIGINT | |
85 | + | ||
86 | + | volumes: | |
87 | + | - /volume1/docker/penpot/postgres_v15:/var/lib/postgresql/data | |
88 | + | ||
89 | + | networks: | |
90 | + | - penpot | |
91 | + | ||
92 | + | environment: | |
93 | + | - POSTGRES_INITDB_ARGS=--data-checksums | |
94 | + | - POSTGRES_DB=penpot | |
95 | + | - POSTGRES_USER=penpot | |
96 | + | - POSTGRES_PASSWORD=penpot | |
97 | + | ||
98 | + | penpot-redis: | |
99 | + | image: redis:7 | |
100 | + | restart: always | |
101 | + | networks: | |
102 | + | - penpot | |
103 | + | ||
104 | + | penpot-mailcatch: | |
105 | + | image: sj26/mailcatcher:latest | |
106 | + | restart: always | |
107 | + | expose: | |
108 | + | - '1025' | |
109 | + | ports: | |
110 | + | - "1080" | |
111 | + | networks: | |
112 | + | - penpot |
Newer
Older