新增 redis docker 配置文件
This commit is contained in:
@@ -10,7 +10,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- C:/Users/admin/Documents/docker/PostgreSQL/data:/var/lib/postgresql/data
|
- C:\Users\admin\Documents\docker\PostgreSQL\data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- MapService
|
- MapService
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
- CORS_ENABLED=true
|
- CORS_ENABLED=true
|
||||||
- CORS_ALLOWED_ORIGINS=*
|
- CORS_ALLOWED_ORIGINS=*
|
||||||
volumes:
|
volumes:
|
||||||
- C:/Users/admin/Documents/docker/GeoServer/data:/opt/geoserver_data
|
- C:\Users\admin\Documents\docker\GeoServer\data:/opt/geoserver_data
|
||||||
networks:
|
networks:
|
||||||
- MapService
|
- MapService
|
||||||
|
|
||||||
|
|||||||
11
docker/redis/docker-compose_redis.yml
Normal file
11
docker/redis/docker-compose_redis.yml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
redis:
|
||||||
|
image: redis:8.2
|
||||||
|
container_name: redis
|
||||||
|
environment:
|
||||||
|
REDIS_PASSWORD: Tjwater@123456
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
volumes:
|
||||||
|
- C:\Users\admin\Documents\docker\redis\data:/data
|
||||||
Reference in New Issue
Block a user