- commit
- 3388fdc
- parent
- 3e19682
- author
- Antonio Mika
- date
- 2022-08-26 14:01:25 +0000 UTC
Added minio
4 files changed,
+28,
-0
+7,
-0
1@@ -1,5 +1,9 @@
2 DATABASE_URL=postgresql://postgres:secret@postgres:5432/pico?sslmode=disable
3 POSTGRES_PASSWORD=secret
4+MINIO_URL=http://minio:9000
5+MINIO_BROWSER_REDIRECT_URL=http://localhost:9001
6+MINIO_ROOT_USER=miniosecret
7+MINIO_ROOT_PASSWORD=miniosecret
8 CF_API_TOKEN=secret
9
10 LISTS_V4=
11@@ -19,6 +23,7 @@ LISTS_EMAIL=hello@pico.sh
12 LISTS_SUBDOMAINS=1
13 LISTS_CUSTOMDOMAINS=1
14 LISTS_PROTOCOL=http
15+LISTS_ALLOW_REGISTER=1
16
17 PASTES_V4=
18 PASTES_V6=
19@@ -37,6 +42,7 @@ PASTES_EMAIL=hello@pico.sh
20 PASTES_SUBDOMAINS=1
21 PASTES_CUSTOMDOMAINS=1
22 PASTES_PROTOCOL=http
23+PASTES_ALLOW_REGISTER=1
24
25 PROSE_V4=
26 PROSE_V6=
27@@ -55,6 +61,7 @@ PROSE_EMAIL=hello@pico.sh
28 PROSE_SUBDOMAINS=1
29 PROSE_CUSTOMDOMAINS=1
30 PROSE_PROTOCOL=http
31+PROSE_ALLOW_REGISTER=1
32
33 IMGS_V4=
34 IMGS_V6=
+6,
-0
1@@ -5,6 +5,12 @@ services:
2 - .env.example
3 ports:
4 - "5432:5432"
5+ minio:
6+ env_file:
7+ - .env.example
8+ ports:
9+ - "9000:9000"
10+ - "9001:9001"
11 lists-web:
12 build:
13 args:
+8,
-0
1@@ -7,6 +7,14 @@ services:
2 - ./data/postgres-data:/var/lib/postgresql/data
3 ports:
4 - "5432:5432"
5+ minio:
6+ env_file:
7+ - .env.prod
8+ volumes:
9+ - ./data/minio-data:/data
10+ ports:
11+ - "9000:9000"
12+ - "9100:9100"
13 lists-caddy:
14 image: neurosnap/pico-caddy:latest
15 restart: always
+7,
-0
1@@ -6,6 +6,13 @@ services:
2 profiles:
3 - db
4 - all
5+ minio:
6+ image: quay.io/minio/minio
7+ command: server /data --console-address ":9001"
8+ restart: always
9+ profiles:
10+ - db
11+ - all
12 lists-web:
13 image: neurosnap/lists-web:latest
14 restart: always