@@ -14,48 +14,73 @@ Docker Compose allows you to define and run multi-container Docker applications.
1414
1515### Installation Steps
1616
17- 1 . Clone the NocoDB repository from GitHub.
18-
19- ``` bash
20- git clone https://github.com/nocodb/nocodb
21- ```
22- 2 . Navigate to the docker-compose directory
23-
24- ``` bash
25- cd nocodb/docker-compose/2_pg
26- ```
27- 3 . Start the services using Docker Compose:
28-
29- ``` bash
30- docker-compose up -d
31- ```
32- This will start NocoDB along with a PostgreSQL database.
33-
34- 4 . Access NocoDB in your browser by visiting ` http://localhost:8080 ` .
35-
36- ### Important Notes
37-
38- - The provided ` docker-compose.yml ` files are configured to persist data. Make sure the volumes are properly mounted.
39- - You can customize the ` docker-compose.yml ` file to change ports, environment variables, or add additional services.
40-
41- ### Troubleshooting
42-
43- - If you encounter any issues, check the logs using the following command:
44-
45- ``` bash
46- docker-compose logs
47- ```
48-
49- - If you need to stop the services, use the following command:
50-
51- ``` bash
52- docker-compose down
53- ```
54-
55- - Ensure all required ports are available on your host machine.
56-
57- - For database connection issues, verify the database service is running:
58-
59- ```bash
60- docker-compose ps
61- ```
17+ <Tabs items = { [' http' , ' https' ]} >
18+
19+ <Tab value = " http" >
20+ ```
21+ version: "3.9"
22+ services:
23+ nocodb:
24+ container_name: nocodb
25+ image: nocodb/nocodb_aio:latest
26+ environment:
27+ NC_AUTH_JWT_SECRET: 'your-super-secret-passs'
28+ NC_PUBLIC_URL: '__your_nocodb_domain__.com'
29+ ports:
30+ - "80:8080"
31+ volumes:
32+ - nocodb_data:/var
33+ tmpfs:
34+ - /run:nodev,nosuid,exec,mode=0755
35+ volumes:
36+ nocodb_data:
37+ ```
38+ </Tab >
39+
40+ <Tab value = " https" >
41+ ```
42+ version: "3.9"
43+ services:
44+ nocodb:
45+ container_name: nocodb
46+ image: nocodb/nocodb_aio:latest
47+ environment:
48+ NC_AUTH_JWT_SECRET: 'your-super-secret-passs'
49+ aio_ssl_email: 'you@example.com'
50+ aio_ssl_domain: 'example.com'
51+ aio_ssl_enable: true
52+ ports:
53+ - "80:80"
54+ - "443:443"
55+ volumes:
56+ - nocodb_data:/var
57+ tmpfs:
58+ - /run:nodev,nosuid,exec,mode=0755
59+ volumes:
60+ nocodb_data:
61+ ```
62+ </Tab >
63+
64+ </Tabs >
65+
66+ ## Start nocodb
67+
68+ ``` bash
69+ docker-compose up -d
70+
71+ ```
72+ > Once the container is running, you can access NocoDB by opening http://localhost in your web browser.
73+
74+ ## Stop nocodb
75+
76+ ``` bash
77+ docker-compose down
78+
79+ ```
80+
81+ ## Upgrading from a previous version
82+
83+ ``` bash
84+ docker compose pull
85+ docker-compose up -d
86+ ```
0 commit comments