diff --git a/docker-compose.prod.yaml b/docker-compose.prod.yaml index 4c5fefe..b7adc1d 100644 --- a/docker-compose.prod.yaml +++ b/docker-compose.prod.yaml @@ -4,8 +4,8 @@ services: env_file: ".env" restart: unless-stopped image: postgres:latest - ports: - - "127.0.0.1:5432:5432" + expose: + - "5432" networks: orservice: - ipv4_address: 10.10.2.2 @@ -34,8 +34,8 @@ services: env_file: ".env" restart: unless-stopped image: ghcr.io/stevensblueprint/orservice - ports: - - "8080:8080" + expose: + - "8080" networks: orservice: - ipv4_address: 10.10.2.3