mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-04-14 17:18:33 +00:00
Downgrade required docker-compose version as we do not use any specific 3.X features anymore + add passthrough env variables for the PUBLIC_URL's to make them easier to set without having to modify the docker-compose.yml
This commit is contained in:
parent
ed34899093
commit
b4299f8efc
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
version: "3.7"
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
version: "3.7"
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
db:
|
||||
|
@ -40,6 +40,8 @@ services:
|
|||
context: .
|
||||
image: baserow_backend:latest
|
||||
environment:
|
||||
- PUBLIC_BACKEND_URL=${PUBLIC_BACKEND_URL:-http://localhost:8000}
|
||||
- PUBLIC_WEB_FRONTEND_URL=${PUBLIC_BACKEND_URL:-http://localhost:3000}
|
||||
- MIGRATE_ON_STARTUP=${MIGRATE_ON_STARTUP:-true}
|
||||
- SYNC_TEMPLATES_ON_STARTUP=${SYNC_TEMPLATES_ON_STARTUP:-true}
|
||||
- DATABASE_USER=${DATABASE_USER:-baserow}
|
||||
|
@ -77,6 +79,8 @@ services:
|
|||
dockerfile: ./web-frontend/Dockerfile
|
||||
image: baserow_web-frontend:latest
|
||||
environment:
|
||||
- PUBLIC_BACKEND_URL=${PUBLIC_BACKEND_URL:-http://localhost:8000}
|
||||
- PUBLIC_WEB_FRONTEND_URL=${PUBLIC_BACKEND_URL:-http://localhost:3000}
|
||||
- ADDITIONAL_MODULES
|
||||
ports:
|
||||
- "${WEB_FRONTEND_PORT:-3000}:3000"
|
||||
|
|
Loading…
Add table
Reference in a new issue