File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11POSTGRES_PASSWORD = supersecretpassword
2+ POSTGRES_USER = supersecretuser
3+ POSTGRES_DB = supersecretdbname
Original file line number Diff line number Diff line change 119119# Firebase cache directory
120120.firebase /
121121
122+
123+ # Postgres db
124+ .postgres-data /
122125# TernJS port file
123126.tern-port
124127
Original file line number Diff line number Diff line change 11services :
22 db :
33 container_name : " TrackAndStore-db"
4- image : postgres
4+ image : postgres:18.1
55 restart : always
66 # set shared memory limit when using docker compose
77 shm_size : 128mb
88 environment :
99 POSTGRES_PASSWORD : ${POSTGRES_PASSWORD}
10+ POSTGRES_USER : ${POSTGRES_USER}
11+ POSTGRES_DB : ${POSTGRES_DB}
1012 env_file : .env
13+ volumes :
14+ - ./postgres-data/:/var/lib/postgresql/18/docker
You can’t perform that action at this time.
0 commit comments