Commit 127ba35f authored by kaiyou's avatar kaiyou

Add project tarqeq

parent ac32a7ec
version: '2.1'
services:
odoo:
image: docker.tedomum.net/tedomum/odoo:${odoo_version}
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:${hostname}
- traefik.port=8069
environment:
- ADMIN_PASSWORD
- PGHOST=db
- PGUSER=${POSTGRES_USER}
- PGPASSWORD=${POSTGRES_PASSWORD}
- PGDATABASE=${POSTGRES_DB}
- WITHOUT_DEMO=all
- DB_FILTER=${DB_FILTER}
links:
- db:db
volumes:
- ./data:/var/lib/odoo
db:
image: postgres:10
volumes:
- ./db:/var/lib/postgresql/data
- ./wal:/wal
- ./postgresql.conf:/var/lib/postgresql/data/postgresql.conf
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/80"
gateway: "${prefix}1"
# Base settings
listen_addresses = '*'
max_connections = 100
shared_buffers = 128MB
dynamic_shared_memory_type = posix
# Backups
wal_level = archive
max_wal_senders = 5
archive_mode = on
archive_command = 'test ! -f /wal/%f && cp %p /wal/%f'
# Defaults
log_timezone = 'UTC'
datestyle = 'iso, mdy'
timezone = 'UTC'
lc_messages = 'en_US.utf8'
lc_monetary = 'en_US.utf8'
lc_numeric = 'en_US.utf8'
lc_time = 'en_US.utf8'
default_text_search_config = 'pg_catalog.english'
# Extended options
shared_preload_libraries = 'pg_stat_statements'
pg_stat_statements.track = all
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment