Ajustado el compose para cmpartir red con otros compose
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
name: p-simulador-webhooks
|
||||
networks:
|
||||
internal:
|
||||
driver: bridge
|
||||
driver_opts:
|
||||
com.docker.network.bridge.host_binding_ipv4: "127.0.0.1"
|
||||
default:
|
||||
name: network-test # Tiene que coincidir con el compose objetivo
|
||||
external: true
|
||||
services:
|
||||
p-simulador-webhooks:
|
||||
container_name: p-simulador-webhooks-standalone
|
||||
@@ -21,12 +20,10 @@ services:
|
||||
action: rebuild
|
||||
image: p-simulador-desarrollo-backend
|
||||
ports:
|
||||
- 3000:${PORT}
|
||||
- ${PORT}:${PORT}
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- internal
|
||||
postgresql:
|
||||
image: postgres:16.1
|
||||
env_file:
|
||||
@@ -42,5 +39,3 @@ services:
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
timeout: 10s
|
||||
networks:
|
||||
- internal
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user