admin API with internal network
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user