fix: bind port only local
This commit is contained in:
@@ -38,7 +38,7 @@ services:
|
||||
volumes:
|
||||
- ./data/db:/data/db
|
||||
ports:
|
||||
- '3344:27017'
|
||||
- '127.0.0.1:3344:27017'
|
||||
networks:
|
||||
- app-network
|
||||
restart: always
|
||||
@@ -47,7 +47,7 @@ services:
|
||||
container_name: redis
|
||||
|
||||
ports:
|
||||
- '3333:6379'
|
||||
- '127.0.0.1:3333:6379'
|
||||
networks:
|
||||
- app-network
|
||||
restart: always
|
||||
|
||||
@@ -33,7 +33,10 @@ async function main() {
|
||||
force: true,
|
||||
recursive: true,
|
||||
})
|
||||
execSync('ln -s $PWD/assets $PWD/apps/core/assets ')
|
||||
const symlinkPath = path.resolve(cwd, 'apps/core/assets')
|
||||
fs.rmSync(path.resolve(cwd, symlinkPath))
|
||||
|
||||
fs.symlinkSync(path.resolve(cwd, 'assets'), path.resolve(cwd, symlinkPath))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user