Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

add frontend to docker compose

Alper Alkanacd716a97b1d
diff --git a/docker-compose.yaml b/docker-compose.yaml
index fb4166d1a..fc4a64634 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -1,15 +1,15 @@
version: '3.9'
services:
- # uncomment if you need the frontend
- # swetrix:
- # image: swetrix/swetrix-fe:latest
- # restart: always
- # depends_on:
- # - swetrix-api
- # ports:
- # - '80:80'
- # environment:
- # - API_URL=http://localhost:8080/api/
+ # This is the frontend, you can remove it if you want
+ swetrix:
+ image: swetrix/swetrix-fe:latest
+ restart: always
+ depends_on:
+ - swetrix-api
+ ports:
+ - '80:80'
+ environment:
+ - API_URL=http://localhost:8080/api/
swetrix-api:
image: swetrix/swetrix-api:latest
restart: always