Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I configure nginx service in a pipeline

mkhurramali November 16, 2019

image: node:10.15.3

pipelines:
  branches:
    staging: 
        - step:
     services:
        - nginx

definitions:
  services:
    nginx:
      image: nginx # How do I change nginx.conf

1 answer

0 votes
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 6, 2020

Hello,

You will need to create your own custom Docker image which extends nginx and includes your desired nginx.conf file to use as a service container. As Pipelines currently does not have a feature to mount files into service containers. If you'd like, you can open a feature request for that here: https://jira.atlassian.com/projects/BCLOUD/issues/

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events