Skip to content

Commit

Permalink
Update README.md (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-wg authored Feb 12, 2025
1 parent 649e8f2 commit bb7456d
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,24 @@ A system for organizing food orders. Written in ReactJS and Meteor.
* Phone

## Production
Use the automated [docker image](https://hub.docker.com/r/cthit/eatit/)
Use the automated [docker image](ghcr.io/cthit/eatit:latest)

### Example compose file
```yml
version: '2.2'
services:
db:
image: mongo:4.4.6
networks:
- default
restart: unless-stopped

eatit:
image: eatit
ports:
- "80:8080"
environment:
ROOT_URL: https://example.org
image: ghcr.io/cthit/eatit:latest
environment:
ROOT_URL: https://eatit.chalmers.it
MONGO_URL: mongodb://db:27017
db:
image: mongo
restart: unless-stopped

```

## Development
Expand All @@ -39,4 +42,4 @@ Run the following command:

### Local production environment
You can compile and build the production image with your local codebase using:
`docker-compose -f prod.docker-compose up --build`
`docker-compose -f prod.docker-compose up --build`

0 comments on commit bb7456d

Please sign in to comment.