Created
July 20, 2022 11:17
-
-
Save DonovanDiamond/51188e4b110fc1bab9319c011ed1c772 to your computer and use it in GitHub Desktop.
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
version: '3.1' | |
services: | |
web: | |
image: odoo:14.0 | |
depends_on: | |
- db | |
ports: | |
- "8069:8069" | |
volumes: | |
- ./data:/var/lib/odoo | |
- ./config:/etc/odoo | |
- ./addons:/mnt/extra-addons | |
- ./point_of_sale:/usr/lib/python3/dist-packages/odoo/addons/point_of_sale | |
environment: | |
- PASSWORD_FILE=/run/secrets/postgresql_password | |
secrets: | |
- postgresql_password | |
db: | |
image: postgres:13 | |
environment: | |
- POSTGRES_DB=postgres | |
- POSTGRES_PASSWORD_FILE=/run/secrets/postgresql_password | |
- POSTGRES_USER=odoo | |
- PGDATA=/var/lib/postgresql/data/pgdata | |
volumes: | |
- odoo-db-data:/var/lib/postgresql/data/pgdata | |
secrets: | |
- postgresql_password | |
volumes: | |
odoo-web-data: | |
odoo-db-data: | |
secrets: | |
postgresql_password: | |
file: odoo_pg_pass |
I was able to get it running and have the files in a separate folder now. like you have above. Now which were the lines that you changed?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
perfect