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
|
||||
sources:
|
||||
- ./public
|
||||
- ./docker-compose.yml
|
||||
- ./docker-compose.prod.yml
|
||||
commands:
|
||||
- docker-compose -f docker-compose.yml -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 down
|
||||
- docker-compose -f docker-compose.prod.yml up -d
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
@ -2,6 +2,12 @@ version: '3'
|
||||
|
||||
services:
|
||||
home:
|
||||
image: nginx:alpine
|
||||
restart: always
|
||||
ports:
|
||||
- 80
|
||||
volumes:
|
||||
- ./public:/usr/share/nginx/html:ro
|
||||
networks:
|
||||
- traefik
|
||||
labels:
|
||||
|
Loading…
Reference in New Issue
Block a user