├── img ├── 01.png ├── 02.png ├── 03.png └── pgadmin.png ├── README.md └── docker-compose.yml /img/01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rg3915/baserow-example/main/img/01.png -------------------------------------------------------------------------------- /img/02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rg3915/baserow-example/main/img/02.png -------------------------------------------------------------------------------- /img/03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rg3915/baserow-example/main/img/03.png -------------------------------------------------------------------------------- /img/pgadmin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rg3915/baserow-example/main/img/pgadmin.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # baserow-example 2 | 3 | Example of Baserow with Docker-compose. 4 | 5 | Run 6 | 7 | ```bash 8 | docker-compose up --build -d 9 | ``` 10 | 11 | Access http://localhost:8004 12 | 13 | and doc on http://localhost:8004/api-docs 14 | 15 | 16 | ## Baserow 17 | 18 | **Documentation:** https://baserow.io/docs/ 19 | 20 | ![](img/01.png) 21 | 22 | ![](img/02.png) 23 | 24 | ![](img/03.png) 25 | 26 | 27 | 28 | ## PGAdmin 29 | 30 | To connect on PostgreSQL with PGAdmin this connection is 31 | 32 | ![](img/pgadmin.png) 33 | 34 | 35 | ## logs 36 | 37 | To view logs of container type 38 | 39 | ```bash 40 | docker container logs -f baserow 41 | ``` -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3.8" 2 | 3 | services: 4 | db: 5 | container_name: baserow_db 6 | image: postgres:16-alpine 7 | restart: always 8 | user: postgres 9 | ports: 10 | - "5434:5432" 11 | environment: 12 | POSTGRES_USER: postgres 13 | POSTGRES_PASSWORD: postgres 14 | POSTGRES_DB: baserow_database 15 | volumes: 16 | - pgdata:/var/lib/postgresql/data 17 | networks: 18 | - baserow-network 19 | 20 | baserow: 21 | container_name: baserow 22 | image: baserow/baserow 23 | environment: 24 | BASEROW_PUBLIC_URL: 'http://localhost:8004' 25 | DATABASE_HOST: db 26 | DATABASE_USER: postgres 27 | DATABASE_PASSWORD: postgres 28 | DATABASE_NAME: baserow_database 29 | ports: 30 | - "8004:80" 31 | - "443:443" 32 | depends_on: 33 | - db 34 | volumes: 35 | - baserow_data:/baserow/data 36 | networks: 37 | - baserow-network 38 | 39 | pgadmin: 40 | container_name: baserow_pgadmin 41 | image: dpage/pgadmin4 42 | restart: unless-stopped 43 | volumes: 44 | - pgadmin:/var/lib/pgadmin 45 | environment: 46 | PGADMIN_DEFAULT_EMAIL: admin@admin.com 47 | PGADMIN_DEFAULT_PASSWORD: admin 48 | PGADMIN_CONFIG_SERVER_MODE: 'False' 49 | ports: 50 | - 5054:80 51 | networks: 52 | - baserow-network 53 | 54 | volumes: 55 | baserow_data: 56 | pgdata: 57 | pgadmin: 58 | 59 | networks: 60 | baserow-network: --------------------------------------------------------------------------------