Skip to content
Snippets Groups Projects
Commit e755161f authored by bewe's avatar bewe
Browse files

fix: docker best practice

parent b5ee5c0c
Branches
No related merge requests found
Pipeline #59300 failed with stages
in 0 seconds
.env
......@@ -17,10 +17,12 @@ services:
image: postgres:latest
ports:
- "5432:5432"
env_file:
- .env
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: bewe
POSTGRES_DB: toco
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: ${DB}
volumes:
- "./db:/docker-entrypoint-initdb.d"
restart: always
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