Skip to content

Commit d905ea3

Browse files
authored
Update Docker and Docker Compose port configurations
1 parent 09d6dd9 commit d905ea3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ Self-hosted form builder. Privacy-friendly alternative to Google Forms.
3030

3131
```bash
3232
docker run -d \
33-
-p 80:80 \
33+
-p 8080:8080 \
3434
-v formera-data:/app/data \
3535
-e BASE_URL=https://forms.example.com \
3636
-e JWT_SECRET=your-secure-secret-here \
37+
-e PORT=8080 \
3738
ghcr.io/formeraapp/formera:latest
3839
```
3940

@@ -46,13 +47,14 @@ services:
4647
container_name: formera
4748
restart: unless-stopped
4849
environment:
50+
- PORT=8080
4951
- BASE_URL=https://forms.example.com
5052
- JWT_SECRET=your-secure-secret-here
5153
# - CORS_ORIGIN=https://other-domain.com # Optional: only if frontend is on different domain
5254
volumes:
5355
- formera-data:/app/data
5456
ports:
55-
- "80:80"
57+
- "8080:8080"
5658

5759
volumes:
5860
formera-data:

0 commit comments

Comments
 (0)