-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
50 lines (44 loc) · 1.16 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
image: docker/compose:latest
.variables_compose: &compose
variables:
DOMAIN: marroquin.dev
only:
- main
tags:
- production
when: manual
netdata-compose:
<<: *compose
environment:
name: netdata
url: https://netdata.${DOMAIN}
script:
- docker-compose -p netdata -f docker-netdata.yml up -d --force-recreate --remove-orphans
nginx-compose:
<<: *compose
environment:
name: nginx
url: https://whoami.${DOMAIN}
script:
- docker-compose -p nginx -f docker-compose.yml up -d --force-recreate --remove-orphans
portainer-compose:
<<: *compose
environment:
name: portainer
url: https://portainer.${DOMAIN}
script:
- docker-compose -p portainer -f docker-portainer.yml up -d --force-recreate --remove-orphans
whoami-compose:
<<: *compose
environment:
name: nginx
url: https://whoami.${DOMAIN}
script:
- docker-compose -p whoami -f docker-whoami.yml up -d --force-recreate --remove-orphans
wordpress-compose:
<<: *compose
environment:
name: wordpress
url: https://wordpress.${DOMAIN}
script:
- docker-compose -p wordpress -f docker-wordpress.yml up -d --force-recreate --remove-orphans