mirror of
https://github.com/cupcakearmy/old.nicco.io.git
synced 2024-11-01 00:24:16 +01:00
exclude dev docker-compose
This commit is contained in:
parent
438db6bf63
commit
bf1da40f21
@ -24,11 +24,10 @@ steps:
|
|||||||
target: /srv/web/home
|
target: /srv/web/home
|
||||||
sources:
|
sources:
|
||||||
- ./public
|
- ./public
|
||||||
- ./docker-compose.yml
|
|
||||||
- ./docker-compose.prod.yml
|
- ./docker-compose.prod.yml
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml down
|
- docker-compose -f docker-compose.prod.yml down
|
||||||
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
- docker-compose -f docker-compose.prod.yml up -d
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: master
|
branch: master
|
@ -2,6 +2,12 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
home:
|
home:
|
||||||
|
image: nginx:alpine
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 80
|
||||||
|
volumes:
|
||||||
|
- ./public:/usr/share/nginx/html:ro
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user