-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathREADME.md
37 lines (28 loc) · 1001 Bytes
/
README.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Setup Docker for Odoo 10 with pgAdmin Access
### Install docker:
```
$ sudo apt install docker.io
$ sudo systemctl start docker
$ sudo systemctl enable docker
```
### Install docker compose:
```
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ sudo systemctl enable docker
```
### Start the container from the root of this project:
```
$ docker-compose up -d
```
Then locate `localhost:10000` to access Odoo 10.0.
<img width="500px" src="https://github.com/Sayed09/odoo-10-docker/blob/master/static/odoo-apps.png" alt="Odoo is working.">
Connect your postgres db now by creating a new server in pgAdmin.
```
name: Odoo10
host: localhost (if not matched, find hostname)
port: 5050
username: odoo
password: odoo
```
<img width="500px" src="https://github.com/Sayed09/odoo-10-docker/blob/master/static/pg-access.png" alt="Postgres is working.">