admin API with internal network

This commit is contained in:
2025-06-06 09:03:39 +02:00
parent 57fa221d47
commit 56177b2811
4 changed files with 506 additions and 2 deletions

View File

@@ -29,6 +29,9 @@ services:
limits:
cpus: '1'
memory: 1G
networks:
- public_network
- internal_network
db:
image: postgres:13
@@ -44,6 +47,8 @@ services:
interval: 30s
timeout: 10s
retries: 3
networks:
- internal_network
volumes:
docupulse_postgres_data:
@@ -51,4 +56,14 @@ volumes:
driver: local
docupulse_uploads:
name: docupulse_${COMPOSE_PROJECT_NAME:-default}_uploads
driver: local
driver: local
networks:
public_network:
name: docupulse_public
internal_network:
name: docupulse_internal
internal: true # This network is not accessible from outside Docker
ipam:
config:
- subnet: 10.42.0.0/16 # Less commonly used subnet