diff --git a/.drone.yml b/.drone.yml index 40d2cf8..54113b5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 39365a0..8175550 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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: