forked from Smile-SA/odoo_addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
66b64d6
commit 36228c1
Showing
3 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM odoo:14.0 | ||
|
||
USER root | ||
|
||
COPY ./requirements.txt . | ||
RUN pip3 install -r ./requirements.txt | ||
|
||
USER odoo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: '3.8' | ||
services: | ||
odoo: | ||
container_name: smile_addons_odoo | ||
environment: | ||
- HOST=db | ||
- USER=odoo | ||
- PASSWORD=odoo | ||
build: . | ||
ports: | ||
- 8069:8069 | ||
stdin_open: true | ||
tty: true | ||
user: odoo | ||
volumes: | ||
- odoo-web-data:/var/lib/odoo | ||
- .:/mnt/extra-addons | ||
db: | ||
container_name: smile_addons_db | ||
environment: | ||
- POSTGRES_DB=postgres | ||
- POSTGRES_PASSWORD=odoo | ||
- POSTGRES_USER=odoo | ||
- PGDATA=/var/lib/postgresql/data/pgdata | ||
image: postgres:13-alpine | ||
ports: | ||
- 5432:5432 | ||
volumes: | ||
- odoo-db-data:/var/lib/postgresql/data/pgdata | ||
volumes: | ||
odoo-db-data: | ||
odoo-web-data: |
Empty file.