File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ services:
1616 env_file :
1717 - .env
1818 restart : always
19- network_mode : " host" # this is needed to use host postgres, feel free to remove this line and use "postgres" container below
2019 ports :
2120 - " 127.0.0.1:8816:8816"
2221
@@ -28,16 +27,16 @@ services:
2827 - app
2928 ports : []
3029
31- # postgres:
32- # image: postgres:12
33- # container_name: infomate_postgres
34- # restart: always
35- # environment:
36- # POSTGRES_USER: vas3k
37- # POSTGRES_PASSWORD: vas3k
38- # POSTGRES_DB: infomate
39- # volumes:
40- # - /tmp/ pgdata:/var/lib/postgresql/data:rw
30+ postgres :
31+ image : postgres:15
32+ container_name : infomate_postgres
33+ restart : always
34+ environment :
35+ POSTGRES_USER : vas3k
36+ POSTGRES_PASSWORD : vas3k
37+ POSTGRES_DB : infomate
38+ volumes :
39+ - /home/vas3k/ pgdata/infomate :/var/lib/postgresql/data:rw
4140
4241 migrate_and_init :
4342 << : *app
You can’t perform that action at this time.
0 commit comments