A ChatGPT web client that supports multiple users, multiple languages, and multiple database connections for persistent data storage. Provides Docker images and quick deployment scripts.
sudo docker-compose up --pull always -d
Builds, (re)creates, starts, and attaches to containers for a service.
Unless they are already running, this command also starts any linked services.
The docker-compose up command aggregates the output of each container. When
the command exits, all containers are stopped. Running docker-compose up -d
starts the containers in the background and leaves them running.
If there are existing containers for a service, and the service's configuration
or image was changed after the container's creation, docker-compose up picks
up the changes by stopping and recreating the containers (preserving mounted
volumes). To prevent Compose from picking up changes, use the --no-recreate
flag.
If you want to force Compose to stop and recreate all containers, use the
--force-recreate flag.
Usage: up [options] [--scale SERVICE=NUM...] [--] [SERVICE...]
sudo docker-compose up --pull always -d Builds, (re)creates, starts, and attaches to containers for a service.
Unless they are already running, this command also starts any linked services.
The
docker-compose up
command aggregates the output of each container. When the command exits, all containers are stopped. Runningdocker-compose up -d
starts the containers in the background and leaves them running.If there are existing containers for a service, and the service's configuration or image was changed after the container's creation,
docker-compose up
picks up the changes by stopping and recreating the containers (preserving mounted volumes). To prevent Compose from picking up changes, use the--no-recreate
flag.If you want to force Compose to stop and recreate all containers, use the
--force-recreate
flag.Usage: up [options] [--scale SERVICE=NUM...] [--] [SERVICE...]
如果不加 --pull always 可以正常启动, 但是后面如果要更新代码, 是不是 不可以了呢?