完善jenkins

This commit is contained in:
2023-08-04 15:14:12 +08:00
parent 4aa08dd3f2
commit f60c16fa6c
6 changed files with 4671 additions and 6 deletions

View File

@@ -0,0 +1,39 @@
services:
pg:
image: postgres
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: 'abc@123'
POSTGRES_USER: "postgres"
POSTGRES_DB: "coal"
networks:
- dn
volumes:
- pg_data:/var/lib/postgresql/data
redis:
image: redis:7
ports:
- "6379:6379"
volumes:
- ./redis.conf:/etc/redis/redis.conf
- redis_data:/data
networks:
- dn
command:
- redis-server
- /etc/redis/redis.conf
networks:
dn:
driver: bridge
volumes:
pg_data:
redis_data:

2276
docker/localdev/redis.conf Normal file

File diff suppressed because it is too large Load Diff