6

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
  • 51,228
  • 7
  • 46
  • 59
Israel Barba
  • 1,434
  • 20
  • 28

1 Answers1

-3

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
  • 30,758
  • 6
  • 57
  • 59