diff options
| author | EuAndreh <eu@euandre.org> | 2019-05-26 10:04:21 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2019-05-26 10:17:30 -0300 |
| commit | 0dd29515d817a3c7d6ea1b8470c4d2d32028ec4e (patch) | |
| tree | 478e1119f0479e919f7ecdbd0c8972d7e1a8c7c5 /docker-compose.yaml | |
| parent | TODOs.org (diff) | |
| download | toph-0dd29515d817a3c7d6ea1b8470c4d2d32028ec4e.tar.gz toph-0dd29515d817a3c7d6ea1b8470c4d2d32028ec4e.tar.xz | |
Add static file server container with nginx
Diffstat (limited to 'docker-compose.yaml')
| -rw-r--r-- | docker-compose.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
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 |
