mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-24 05:17:06 +02:00
20 lines
361 B
YAML
20 lines
361 B
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
|