I’m trying to install baserow by docker-compose on my enviroment with **traefik **and portainer. Installation goes well but when I try access I get this error:
My docker-compose.yml
version: '3.4'
services:
db:
image: postgres:12
volumes:
- baserow_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: baserow
POSTGRES_USER: baserow
POSTGRES_PASSWORD: myPassword
restart: always
networks:
- internal
backend:
image: baserow/baserow:1.25.1
environment:
DATABASE_HOST: db
DATABASE_NAME: baserow
DATABASE_USER: baserow
DATABASE_PASSWORD: myPassword
BASEROW_PUBLIC_URL: https://baserow.domain.com.br
depends_on:
- db
labels:
- "traefik.enable=true"
- "traefik.http.routers.baserow.rule=Host(`baserow.domain.com.br`)"
- "traefik.http.routers.baserow.entrypoints=websecure"
- "traefik.http.routers.baserow.tls=true"
- "traefik.http.routers.baserow.tls.certresolver=leresolver"
networks:
- internal
- baserow
#ports:
# - "3001:443"
web-frontend:
image: baserow/web-frontend:1.25.1
environment:
PUBLIC_URL: https://baserow.domain.com.br
depends_on:
- backend
labels:
- "traefik.enable=true"
- "traefik.http.routers.baserow-frontend.rule=Host(`baserow.domain.com.br`)"
- "traefik.http.routers.baserow-frontend.entrypoints=websecure"
- "traefik.http.routers.baserow-frontend.tls.certresolver=leresolver"
- "traefik.http.routers.baserow.tls=true"
networks:
- internal
- baserow
#ports:
# - "8001:80"
volumes:
baserow_data:
networks:
internal:
internal: true
baserow:
#external: true
local:
driver: bridge
traefik LOGS says:
error="service "db-baserow" error: unable to find the IP address for the container "/baserow-db-1": the server is ignored" container=db-baserow-... providerName=docker
baserow backend logs says:
Please run baserow with a mounted data folder 'docker run -v baserow_data:/baserow/data ...', otherwise your data will be lost between runs. To disable this check set the DISABLE_VOLUME_CHECK env variable to 'yes' (docker run -e DISABLE_VOLUME_CHECK=yes ...).
then when I setup any ports in docker-compose.yml I get error: Bad Gateway
...
networks:
- internal
- baserow
ports:
- "79:80"
- "442:443"
...
Could someone give me a tip, what I can try to do baserow works?