1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-01-30 18:36:29 +00:00
bramw_baserow/deploy/all-in-one/docker-compose.yml
Nigel Gott f7de18ff7c Merge branch '1041-add-check-of-baserow_public_url-and-public_backend_url-to-make-sure-they-are-valid' into 'develop'
Resolve "Add check of BASEROW_PUBLIC_URL and PUBLIC_BACKEND_URL to make sure they are valid"

Closes #1041

See merge request bramw/baserow!833
2022-07-01 06:51:56 +00:00

38 lines
1 KiB
YAML

version: "3.4"
services:
# A dev / testing /example compose file for quickly setting up an all in one
baserow_all_in_one:
image: baserow
build:
dockerfile: $PWD/deploy/all-in-one/Dockerfile
context: $PWD
args:
# We allow configuring the UID/GID here so you can run as the dev's actual user
# reducing the chance the containers screw up the bind mounted folders.
UID: $UID
GID: $GID
environment:
EMAIL_SMTP: 'yes'
EMAIL_SMTP_HOST: 'mailhog'
EMAIL_SMTP_PORT: '1025'
BASEROW_PUBLIC_URL:
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: