🐳 Bump Postgres version in official docker compose file
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -37,4 +37,3 @@ typebotsToFix.json
|
|||||||
snapshots
|
snapshots
|
||||||
|
|
||||||
.env
|
.env
|
||||||
.typebot-build
|
|
||||||
|
@ -188,6 +188,10 @@ If you don't already have an S3 storage available, you could include it in your
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: '3.3'
|
version: '3.3'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
s3-data:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
minio:
|
minio:
|
||||||
image: minio/minio
|
image: minio/minio
|
||||||
@ -198,7 +202,7 @@ services:
|
|||||||
MINIO_ROOT_USER: minio
|
MINIO_ROOT_USER: minio
|
||||||
MINIO_ROOT_PASSWORD: minio123
|
MINIO_ROOT_PASSWORD: minio123
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/.typebot/s3:/data
|
- s3-data:/data
|
||||||
# This service just makes sure a bucket with the right policies is created
|
# This service just makes sure a bucket with the right policies is created
|
||||||
createbuckets:
|
createbuckets:
|
||||||
image: minio/mc
|
image: minio/mc
|
||||||
@ -237,6 +241,11 @@ Here is a config example that spins up Typebot with HTTPS, SMTP and S3 storage.
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
version: '3.3'
|
version: '3.3'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db-data:
|
||||||
|
s3-data:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
caddy-gen:
|
caddy-gen:
|
||||||
image: 'wemakeservices/caddy-gen:latest'
|
image: 'wemakeservices/caddy-gen:latest'
|
||||||
@ -254,7 +263,7 @@ services:
|
|||||||
image: postgres:13
|
image: postgres:13
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- {$PWD}/.typebot/database:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=typebot
|
- POSTGRES_DB=typebot
|
||||||
- POSTGRES_PASSWORD=typebot
|
- POSTGRES_PASSWORD=typebot
|
||||||
@ -298,7 +307,7 @@ services:
|
|||||||
MINIO_ROOT_USER: minio
|
MINIO_ROOT_USER: minio
|
||||||
MINIO_ROOT_PASSWORD: minio123
|
MINIO_ROOT_PASSWORD: minio123
|
||||||
volumes:
|
volumes:
|
||||||
- {$PWD}/.typebot/s3:/data
|
- s3_data:/data
|
||||||
# This service just make sure a bucket with the right policies is created
|
# This service just make sure a bucket with the right policies is created
|
||||||
createbuckets:
|
createbuckets:
|
||||||
image: minio/mc
|
image: minio/mc
|
||||||
|
@ -1,13 +1,18 @@
|
|||||||
version: '3.3'
|
version: '3.3'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
db-data:
|
||||||
|
|
||||||
services:
|
services:
|
||||||
typebot-db:
|
typebot-db:
|
||||||
image: postgres:13
|
image: postgres:14-alpine
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ${PWD}/.typebot/database:/var/lib/postgresql/data
|
- db-data:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=typebot
|
- POSTGRES_DB=typebot
|
||||||
- POSTGRES_PASSWORD=typebot
|
- POSTGRES_PASSWORD=typebot
|
||||||
|
|
||||||
typebot-builder:
|
typebot-builder:
|
||||||
image: baptistearno/typebot-builder:latest
|
image: baptistearno/typebot-builder:latest
|
||||||
restart: always
|
restart: always
|
||||||
@ -18,6 +23,7 @@ services:
|
|||||||
extra_hosts:
|
extra_hosts:
|
||||||
- 'host.docker.internal:host-gateway'
|
- 'host.docker.internal:host-gateway'
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
|
||||||
typebot-viewer:
|
typebot-viewer:
|
||||||
image: baptistearno/typebot-viewer:latest
|
image: baptistearno/typebot-viewer:latest
|
||||||
restart: always
|
restart: always
|
||||||
|
Reference in New Issue
Block a user