File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -10,22 +10,22 @@ services:
1010 - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
1111 env_file :
1212 - .env
13- ports :
14- - " 127.0.0.1:${POSTGRES_PORT}:${POSTGRES_PORT}"
1513 command : -p ${POSTGRES_PORT}
14+ networks :
15+ - mapdb-network
1616
1717 django :
1818 container_name : mapdb-django
1919 image : ghcr.io/cncnet/cncnet-map-api:${APP_TAG}
2020 volumes :
2121 - ${HOST_MEDIA_ROOT}:/data/cncnet_silo # django will save user-uploaded files here. MEDIA_ROOT
2222 - ${HOST_STATIC_ROOT}:/data/cncnet_static # django will gather static files here. STATIC_ROOT
23- ports :
24- - " 8000:8000"
2523 env_file :
2624 - .env
2725 depends_on :
2826 - db
27+ networks :
28+ - mapdb-network
2929
3030 nginx-server :
3131 # nginx proxies requests to django via gunicorn.
@@ -39,3 +39,9 @@ services:
3939 - " ${EXPOSED_PORT}:80"
4040 depends_on :
4141 - django
42+ networks :
43+ - mapdb-network
44+
45+ networks :
46+ mapdb-network :
47+ driver : bridge
You can’t perform that action at this time.
0 commit comments