1
0
Fork 0

baserow: add

This commit is contained in:
Lukáš Kucharczyk 2023-09-08 12:14:41 +02:00
parent 0ce3b9dd50
commit 8c46b392a5
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
5 changed files with 117 additions and 1 deletions

2
.env
View File

@ -92,3 +92,5 @@ PHOTOPRISM_EXTERNAL_PORT=2342
PHOTOPRISM_INTERNAL_PORT=2342 PHOTOPRISM_INTERNAL_PORT=2342
SONARR_TV_STANDARD_EXTERNAL_PORT=8989 SONARR_TV_STANDARD_EXTERNAL_PORT=8989
SONARR_INTERNAL_PORT=8989 SONARR_INTERNAL_PORT=8989
BASEROW_EXTERNAL_PORT=8089
BASEROW_INTERNAL_PORT=80

11
baserow.env Normal file
View File

@ -0,0 +1,11 @@
BASEROW_PUBLIC_URL=https://baserow.${DOMAIN}
DATABASE_HOST=postgres
DATABASE_NAME=baserow
DATABASE_USER=baserow
EMAIL_SMTP=1
EMAIL_SMTP_HOST=smtp.gmail.com
EMAIL_SMTP_PASSWORD=sebrubdsgkuptcjr
EMAIL_SMTP_PORT=587
EMAIL_SMTP_USE_TLS=1
EMAIL_SMTP_USER=kucharczyk.lukas@gmail.com
FROM_EMAIL=kucharczyk.lukas@gmail.com

View File

@ -741,6 +741,23 @@ services:
- base - base
- media - media
baserow:
container_name: baserow
image: baserow/baserow:latest
networks:
- public
- postgres
ports:
- "${BASEROW_EXTERNAL_PORT}:${BASEROW_INTERNAL_PORT}"
env_file:
- baserow.env
volumes:
- "${DOCKER_STORAGE_PATH}/baserow:/baserow/data"
restart: unless-stopped
profiles:
- base

11
penpot.env Normal file
View File

@ -0,0 +1,11 @@
--2023-01-05 19:27:46-- https://raw.githubusercontent.com/penpot/penpot/main/docker/images/config.env
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2713 (2.6K) [text/plain]
Saving to: config.env.1
0K .. 100% 123M=0s
2023-01-05 19:27:46 (123 MB/s) - config.env.1 saved [2713/2713]

75
penpot.yml Normal file
View File

@ -0,0 +1,75 @@
---
networks:
penpot:
volumes:
penpot_postgres_data:
penpot_assets_data:
services:
penpot-frontend:
image: "penpotapp/frontend:latest"
ports:
- 9001:80
volumes:
- ${DOCKER_STORAGE_PATH}/penpot/data:/opt/data$
env_file:
- penpot.env
depends_on:
- penpot-backend
- penpot-exporter
networks:
- penpot
penpot-backend:
image: "penpotapp/backend:latest"
volumes:
- penpot_assets_data:/opt/data
depends_on:
- penpot-postgres
- penpot-redis
env_file:
- config.env
networks:
- penpot
penpot-exporter:
image: "penpotapp/exporter:latest"
env_file:
- config.env
environment:
# Don't touch it; this uses internal docker network to
# communicate with the frontend.
- PENPOT_PUBLIC_URI=http://penpot-frontend
networks:
- penpot
penpot-postgres:
image: "postgres:14"
restart: always
stop_signal: SIGINT
environment:
- POSTGRES_INITDB_ARGS=--data-checksums
- POSTGRES_DB=penpot
- POSTGRES_USER=penpot
- POSTGRES_PASSWORD=penpot
volumes:
- penpot_postgres_data:/var/lib/postgresql/data
networks:
- penpot
penpot-redis:
image: redis:7
restart: always
networks:
- penpot