chore: update docker network configuration

- Change network from 'net1' to 'dokploy-network'
- Make 'dokploy-network' an external network
- Update references in multiple services

This update modifies the docker-compose configuration to
utilize an external network named 'dokploy-network' instead
of the previously defined 'net1'. This change is intended
to improve network management and integration with existing
infrastructure.
This commit is contained in:
songtianlun 2025-01-23 10:49:53 +08:00
parent ccb48a387b
commit b3089856c2

View File

@ -9,7 +9,7 @@ services:
- RAILS_MASTER_KEY=${RAILS_MASTER_KEY}
- REDIS_URL=redis://redis:6379/0
networks:
- net1
- dokploy-network
depends_on:
- db
- redis
@ -23,7 +23,7 @@ services:
- RAILS_MASTER_KEY=${RAILS_MASTER_KEY}
- REDIS_URL=redis://redis:6379/0
networks:
- net1
- dokploy-network
depends_on:
- db
- redis
@ -33,7 +33,7 @@ services:
volumes:
- ../taw_data/pg:/var/lib/postgresql/data
networks:
- net1
- dokploy-network
environment:
- POSTGRES_PASSWORD=${PG_PASSWORD}
- POSTGRES_DB=db
@ -43,9 +43,9 @@ services:
volumes:
- ../taw_data/redis:/data
networks:
- net1
- dokploy-network
command: redis-server --appendonly yes
networks:
net1:
driver: bridge
dokploy-network:
external: true