You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
poms/docker-compose.yaml

42 lines
647 B
YAML

version: "3"
networks:
poms:
driver: bridge
external: false
services:
web:
build: ./web
depends_on:
- server
networks:
- poms
ports:
- 80:80
restart: always
server:
build: ./server
depends_on:
- redis
networks:
- poms
ports:
- 8080:8080
restart: always
model:
build: ./model
environment:
- TZ=Asia/Shanghai
networks:
- poms
restart: always
redis:
build: ./plugin/redis
command: redis-server --requirepass 71FE1012A95B4CDA361DE3373BB9C13A
networks:
- poms
ports:
- 6379:6379
restart: always