3

I need to enable the accents for postgreSQL. This is my docker-compose.yml, but it doesn't work. Any tips? Thank you.

db:
  image: postgres
  ports:
    - 5432
  environment:
    DB_UNACCENT: true
mailcatcher:
  image: aboutsource/mailcatcher
  ports:
    - "1080:1080"
web:
  build: .
  command: passenger start --port 3000
  volumes:
    - .:/myapp
  environment:
   - RAILS_ENV=development
  ports:
    - "3000:3000"
    - "25:25"
    - "587:587"
  links:
    - db
    - mailcatcher
Henrik Sachse
  • 46,640
  • 7
  • 44
  • 57
Israel Barba
  • 1,339
  • 18
  • 25

1 Answers1

-2

See my previous answer on that topic How to set the locale inside a Docker container?

Adapt it with the correct locale for your need.

Community
  • 1
  • 1
user2915097
  • 27,609
  • 6
  • 52
  • 56