new site docker-compose

This commit is contained in:
Didier Slof 2022-12-25 14:49:08 +01:00
parent d26ea16071
commit dbe8621056
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -2,12 +2,12 @@ version: '2.2'
services: services:
web: web:
image: nginx:alpine build:
context: ./repos/main-site
dockerfile: ./Dockerfile
environment: environment:
- VIRTUAL_HOST=faulty.nl - VIRTUAL_HOST=faulty.nl
- LETSENCRYPT_HOST=faulty.nl - LETSENCRYPT_HOST=faulty.nl
volumes:
- /srv/www/faulty.nl:/usr/share/nginx/html
networks: networks:
- proxy - proxy