Updated docker-compose

This commit is contained in:
Matthew McKinnon 2022-08-07 17:45:00 +10:00
parent 3ba92f6f44
commit d91120a15b
2 changed files with 5 additions and 4 deletions

View File

@ -34,6 +34,7 @@ docker_build:
- docker push $IMAGE_TAG - docker push $IMAGE_TAG
- docker tag $IMAGE_TAG $IMAGE_TAG_LATEST - docker tag $IMAGE_TAG $IMAGE_TAG_LATEST
- docker push $IMAGE_TAG_LATEST - docker push $IMAGE_TAG_LATEST
- docker rmi $IMAGE_TAG $IMAGE_TAG_LATEST
only: only:
- tags - tags

View File

@ -2,8 +2,8 @@
version: '3' version: '3'
services: services:
comprofix: comprofix:
build: image: registry.gitlab.comprofix.com/comprofix/website:latest
context: . container_name: comprofix-website
container_name: comprofix
ports: ports:
- 8080:80 - 8188:80
restart: unless-stopped