Skip to content

Commit

Permalink
chore: update zentao service configuration
Browse files Browse the repository at this point in the history
- Add `pull_policy: if_not_present` for the `zentao-db` service
- Update the image for the `zentao` service from `easysoft/zentao:20.0.beta2` to `easysoft/zentao:20.0`
- Add `pull_policy: always` for the `zentao` service

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed May 20, 2024
1 parent 7bdda20 commit 474ce2d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions hack/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
# limitations under the License.
#

version: '3.8'
services:

# db service for zentao
zentao-db:
image: bitnami/mariadb:10.6
container_name: zentao-db
pull_policy: if_not_present
restart: always
volumes:
- 'zentao_db:/bitnami/mariadb'
Expand All @@ -33,8 +33,9 @@ services:

# zentao service
zentao:
image: easysoft/zentao:20.0.beta2
image: easysoft/zentao:20.0
container_name: zentao
pull_policy: always
restart: always
ports:
- '80:80'
Expand All @@ -48,9 +49,6 @@ services:
- ZT_MYSQL_USER=root
- ZT_MYSQL_PASSWORD=pass4Zentao
- ZT_MYSQL_DB=zentao
- EASYSOFT_DEBUG=true
- DEBUG=1
- IS_CONTAINER=true

# persistence for mysql and zentao
volumes:
Expand Down

0 comments on commit 474ce2d

Please sign in to comment.