Commit da2ff3c3 authored by Azhar Hassan's avatar Azhar Hassan

deploy

parent ba566ce4
Pipeline #4255 passed with stages
in 43 seconds
......@@ -8,5 +8,11 @@ docker_build:
- docker build -t 0.0.0.0:8082/repository/mac:latest .
- docker push 0.0.0.0:8082/repository/mac:latest
docker_deploy:
tags:
- mac
stage: deploy
image: docker:latest
script:
- docker-compose up -d
version: '3.0'
services:
backend:
image: 0.0.0.0:8082/repository/mac:latest
hostname: backend
container_name: backend
restart: always
ports:
#- 169.60.235.66:2211:22
- 0.0.0.0:4469:8000
#volumes:
#- .:/amazon
stdin_open: true
tty: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment