Set a postgres container with secrets from file -- 2

I have tried to set up a Postgres container using secrets. My secrets are stored in individual text files.

My docker-compose file is attached to this project. Unfortunately, when I run docker-compose up, I am getting the following error:

ERROR: for postgres Cannot create container for service postgres: invalid volume specification: 'C:\users\rolan\Desktop\TEST\secrets\DB_USERNAME:/run/secrets/db-username:ro'

I need help to make it run, even if i need an additional script to create the variables from the secrets files. I also need a volume to be set in order to have persistent data when the container stops and restarts.

I don´t want to use swarn

Beceriler: Linux, Docker, Bash Scripting

Daha fazlasını gör: set movie duration xml file, file sharing sites make money, set leftnav phtml magento file, docker secrets environment variables, docker create secret, docker-compose postgres, docker secrets tutorial, docker-compose secrets, docker secrets without swarm, docker postgres, docker postgres create database, set text images fla file autofit window, container cad file, mac lion set dhcp using batch file, plastic container cad file, set price markup csv file, shipping container autocad file, repair excel file 2, file 2, magento 2 year make model

İşveren Hakkında:
( 36 değerlendirme ) Aver o Mar, Portugal

Proje NO: #27952246



Hello, I’m devops engineer who worked with docker for years. Please contact and i will help you to fix the issue.

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(35 Değerlendirme)

Bu iş için 6 freelancer ortalamada $118 teklif veriyor

(470 Değerlendirme)

Hi, Greetings! ✅checked your project details: Set a postgres container with secrets from file ✅Completed Time: In project deadline We have worked on 600 + Projects. I have 6 + years of the experience in same kin Daha Fazla

$220 USD in 4 gün içinde
(7 Değerlendirme)

Hi there, I have over 10 years of work experience with Linux and docker working with DBs. Ping me and I'll help you with this. Cheers mate.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(9 Değerlendirme)

Hi, We can discuss more about this query,I have vast experience in Docker,Docker Swarm and Kubernetes and have been solving this issue many times before without reflecting password in logs or compose. Have experience Daha Fazla

$140 USD in 7 gün içinde
(0 Değerlendirme)

Dear Sir/Madam, i have good hands-on experience in docker and kubernetes. I will help you to fix these issues.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)