Skip to content

Commit

Permalink
build: add docker persistent volume (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tohrusky authored Dec 24, 2024
1 parent 5469d3b commit 6d84a67
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,5 @@ tmp

temp_clips
temp_list.txt

/deploy/docker-compose/allinone/
6 changes: 6 additions & 0 deletions deploy/docker-compose/docker-compose-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ services:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=123456
- MONGO_INITDB_DATABASE=finalrip
volumes:
- ./allinone/mongodb:/data/db
networks:
- backend

Expand All @@ -33,6 +35,8 @@ services:
interval: 5s
timeout: 3s
retries: 10
volumes:
- ./allinone/redis:/data
networks:
- backend

Expand All @@ -59,6 +63,8 @@ services:
MINIO_ROOT_USER: homo
MINIO_ROOT_PASSWORD: homo114514
MINIO_DEFAULT_BUCKETS: finalrip:public
volumes:
- ./allinone/minio:/bitnami/minio/data
networks:
- backend

Expand Down
2 changes: 0 additions & 2 deletions deploy/docker-compose/docker-compose-encode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ services:
environment:
# - FINALRIP_REMOTE_CONFIG_HOST=EASYTIER
- FINALRIP_REMOTE_CONFIG_HOST=consul:8500
- FINALRIP_DB_HOST=mongodb
- FINALRIP_REDIS_HOST=redis
deploy:
replicas: 1
resources:
Expand Down

0 comments on commit 6d84a67

Please sign in to comment.