Correction nginx.conf, add gitlab install
This commit is contained in:
parent
0f914ca1c8
commit
1a1b3c0b00
@ -48,5 +48,5 @@ http {
|
||||
}
|
||||
}
|
||||
|
||||
include applications/*.conf;
|
||||
include conf.d/*.conf;
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
docker run --detach \
|
||||
--name gitlab \
|
||||
--publish 8001:80 \
|
||||
--publish 44301:443 \
|
||||
--publish 2201:22 \
|
||||
--hostname gitlab.c2a-system.dev \
|
||||
--env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.c2a-system.dev/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \
|
||||
--volume /srv/gitlab/config:/etc/gitlab \
|
||||
--volume /srv/gitlab/logs:/var/log/gitlab \
|
||||
--volume /srv/gitlab/data:/var/opt/gitlab \
|
||||
--restart unless-stopped \
|
||||
gitlab/gitlab-ce:latest
|
@ -1,5 +1,5 @@
|
||||
apt-get install nginx
|
||||
|
||||
cp ./docker/conf/nginx.conf /etc/nginx/
|
||||
cp ./docker/conf/mime.types /etc/nginx/
|
||||
cp ./docker/conf/applications/* /etc/nginx/conf.d/
|
||||
|
||||
apt-get install nginx
|
||||
|
@ -1,8 +0,0 @@
|
||||
docker volume create portainer_data;
|
||||
docker run --detach \
|
||||
--name portainer \
|
||||
--publish 8003:9000 \
|
||||
--volume /var/run/docker.sock:/var/run/docker.sock \
|
||||
--volume portainer_data:/data \
|
||||
--restart unless-stopped \
|
||||
portainer/portainer:latest
|
@ -20,3 +20,6 @@ apt-get install docker-ce docker-ce-cli containerd.io
|
||||
|
||||
# Launch Install Script
|
||||
./docker/install-nginx.sh
|
||||
./docker/install-portainer.sh
|
||||
|
||||
service nginx restart
|
||||
|
Loading…
Reference in New Issue
Block a user