Files
baserow/deploy/all-in-one/docker-compose.yml

37 lines
970 B
YAML

services:
# A dev / testing /example compose file for quickly setting up an all in one
baserow_all_in_one:
image: baserow:${BASEROW_VERSION:-2.0.3}
build:
dockerfile: $PWD/deploy/all-in-one/Dockerfile
context: $PWD
target: prod
environment:
EMAIL_SMTP: 'yes'
EMAIL_SMTP_HOST: 'mailhog'
EMAIL_SMTP_PORT: '1025'
BASEROW_PUBLIC_URL:
BASEROW_FRONTEND_COOKIE_PREFIX:
MEDIA_URL:
BASEROW_FILE_UPLOAD_ACTIVE_CONTENT_POLICY:
ports:
- "80:80"
- "443:443"
volumes:
- baserow_all_in_one_data:/baserow/data
healthcheck:
test: [ "CMD-SHELL", "/baserow/backend/docker/docker-entrypoint.sh backend-healthcheck" ]
interval: 10s
timeout: 5s
retries: 5
stdin_open: true
tty: true
mailhog:
image: mailhog/mailhog
logging:
driver: 'none' # disable saving logs
ports:
- "8025:8025" # web ui
volumes:
baserow_all_in_one_data: