mirror of
https://github.com/odoocker/odoocker
synced 2025-12-22 04:59:32 +01:00
first commit
This commit is contained in:
5
postgres/Dockerfile
Normal file
5
postgres/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM postgres:15.1
|
||||
|
||||
RUN apt-get update && apt-get install postgresql-contrib
|
||||
|
||||
COPY ./entrypoint.sh /docker-entrypoint-initdb.d/entrypoint.sh
|
||||
3
postgres/entrypoint.sh
Executable file
3
postgres/entrypoint.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
psql -p 5432 -U odoo -d postgres -c "CREATE DATABASE unaccent_template WITH TEMPLATE = template0"
|
||||
psql -p 5432 -U odoo -d postgres -c "\\c unaccent_template"
|
||||
psql -p 5432 -U odoo -d postgres -c "CREATE EXTENSION IF NOT EXISTS unaccent;"
|
||||
Reference in New Issue
Block a user