mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-04 03:48:55 +02:00
add odoo
This commit is contained in:
parent
ebd61027b4
commit
e9dfb97ac6
@ -249,6 +249,7 @@ A collection of delicious docker recipes.
|
||||
- [x] kylemanna/openvpn
|
||||
- [x] mongo
|
||||
- [x] neo4j
|
||||
- [x] odoo
|
||||
- [x] owncloud
|
||||
- [x] phpmyadmin
|
||||
- [x] portainer/portainer :+1:
|
||||
|
42
odoo/README.md
Normal file
42
odoo/README.md
Normal file
@ -0,0 +1,42 @@
|
||||
odoo
|
||||
====
|
||||
|
||||
[Odoo][1] is a suite of web based open source business apps.
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yaml
|
||||
odoo:
|
||||
image: odoo:10.0
|
||||
ports:
|
||||
- "8069:8069"
|
||||
volumes:
|
||||
- ./data/odoo:/var/lib/odoo
|
||||
- ./data/addons:/mnt/extra-addons
|
||||
links:
|
||||
- postgres:db
|
||||
restart: always
|
||||
|
||||
postgres:
|
||||
image: postgres:9-alpine
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=odoo
|
||||
- POSTGRES_PASSWORD=odoo
|
||||
restart: always
|
||||
```
|
||||
|
||||
## up and running
|
||||
|
||||
```bash
|
||||
$ mkdir -p 777 data/odoo
|
||||
$ docker-compose up -d
|
||||
$ docker-compose exec postgres psql -U postgres
|
||||
postgres=# \l
|
||||
postgres=# drop database odoo;
|
||||
postgres=# \q
|
||||
$ curl http://localhost:8069
|
||||
```
|
||||
|
||||
[1]: https://www.odoo.com
|
19
odoo/docker-compose.yml
Normal file
19
odoo/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
odoo:
|
||||
image: odoo:10.0
|
||||
ports:
|
||||
- "8069:8069"
|
||||
volumes:
|
||||
- ./data/odoo:/var/lib/odoo
|
||||
- ./data/addons:/mnt/extra-addons
|
||||
links:
|
||||
- postgres:db
|
||||
restart: always
|
||||
|
||||
postgres:
|
||||
image: postgres:9-alpine
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=odoo
|
||||
- POSTGRES_PASSWORD=odoo
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user