From 0dd29515d817a3c7d6ea1b8470c4d2d32028ec4e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 26 May 2019 10:04:21 -0300 Subject: Add static file server container with nginx --- docker-compose.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docker-compose.yaml') diff --git a/docker-compose.yaml b/docker-compose.yaml index 00c8cd0..c268cf1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -26,6 +26,20 @@ services: depends_on: - proxy + static: + image: nginx + container_name: static-nginx + restart: always + volumes: + - "${VOLUME_HOME}/static:/usr/share/nginx/html" + ports: + - "5001:80" + environment: + - VIRTUAL_HOST=${TLD} + - VIRTUAL_PORT=5001 + - LETSENCRYPT_HOST=${TLD} + - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL} + wallabag: image: wallabag/wallabag container_name: wallabag -- cgit v1.2.3