Changes

From Amahi Wiki
Jump to: navigation, search
16 bytes added ,  13:01, 28 August 2017
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url <nowiki>'http://APP_HOSTNAME:HOST_PORT'</nowiki>
gitlab_rails['gitlab_shell_ssh_port'] = 2224
ports:
This script creates a docker-compose.yml file and then runs `docker-compose up -d` command which essentially creates and runs the container.
The `yml` file can have different parameters. For that we might have to refer to docker and docker-compose documentation. `restart : unless-stopped` is used to handle failovers of containers. If a container crashes for some reaosn then it will restart automatically.
===Understanding the script===
12,424

edits