File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ services:
1313 memlock :
1414 soft : -1
1515 hard : -1
16- volumes : [esdata:/usr/share/elasticsearch/data]
1716 ports : [9200:9200, 9300:9300]
17+ volumes : [esdata:/usr/share/elasticsearch/data]
1818 healthcheck :
1919 test : [CMD-SHELL, curl -s http://localhost:9200 >/dev/null || exit 1]
2020 interval : 1m
@@ -37,14 +37,14 @@ services:
3737 env_file : [.env]
3838 ports : [5432:5432]
3939 volumes : [pgdata:/var/lib/postgresql/data]
40+ networks : [default, db_network]
4041 healthcheck :
4142 test : [CMD, pg_isready, -U, postgres]
4243 interval : 1m
4344 timeout : 30s
4445 retries : 5
4546 start_period : 1m
4647 restart : unless-stopped
47- networks : [default, db_network]
4848 api :
4949 build :
5050 context : .
@@ -60,10 +60,11 @@ services:
6060 memory : 4G
6161 env_file : [.env]
6262 command : [poetry, run, /app/start-server-dev.sh]
63- volumes : [.:/app, $HOME/.basedosdados/credentials:/app/credentials:ro]
6463 ports :
6564 - 8080:80 # API port
6665 - 5678:5678 # Debug port
66+ volumes : [.:/app, $HOME/.basedosdados/credentials:/app/credentials:ro]
67+ networks : [default, db_network]
6768 depends_on :
6869 index :
6970 condition : service_healthy
You can’t perform that action at this time.
0 commit comments