mirror of
https://github.com/unmojang/meta.git
synced 2025-09-24 03:31:03 -04:00
fix(docker): add restart to default docker-compose.yaml
This commit is contained in:
parent
bab6bab12a
commit
64e57494b3
@ -11,7 +11,6 @@ It is recommended to use Docker to deploy the environment.
|
||||
- Put your SSH key (which has push access to meta-upstream and meta-polymc) at `config/deploy.key`
|
||||
- Pull meta- repos: `bash clone.sh`
|
||||
- Customize docker-compose.yaml
|
||||
- You might want to add `restart: always`
|
||||
- Run `docker-compose up -d --build`
|
||||
- Observe Cron logs using `docker-compose logs -f` (Runs hourly by default)
|
||||
- (Optional) Run once to fill caches: `docker-compose run meta update`
|
||||
|
@ -4,11 +4,10 @@ services:
|
||||
meta:
|
||||
build: .
|
||||
command: cron
|
||||
environment:
|
||||
MODE: master
|
||||
volumes:
|
||||
- "./caches:/app/caches"
|
||||
- "./upstream:/app/upstream"
|
||||
- "./polymc:/app/polymc"
|
||||
- "./public:/app/public"
|
||||
- "./config:/app/config"
|
||||
restart: unless-stopped
|
||||
|
Loading…
x
Reference in New Issue
Block a user