Compare commits
2 Commits
15a8d9e6f0
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 7d4e446d4a | |||
| 393c7c50ae |
+8
-1
@@ -1,3 +1,10 @@
|
|||||||
# Directions to get a running docker image
|
# Directions to get a running docker image
|
||||||
|
|
||||||
Clone the repo
|
|
||||||
|
Clone the repo using `git clone ssh://git@git.hintonclan.org:222/bionickatana/car-tracker.git`
|
||||||
|
|
||||||
|
Change directory into repo `cd car-tracker`
|
||||||
|
|
||||||
|
Run the docker build `docker compose build`
|
||||||
|
|
||||||
|
Start the server using compose: `docker compose up -d`
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "8090:3000"
|
||||||
|
environment:
|
||||||
|
- RAILS_ENV=production
|
||||||
|
- RAILS_SERVE_STATIC_FILES=true
|
||||||
|
- RAILS_LOG_TO_STDOUT=true
|
||||||
|
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
|
||||||
|
volumes:
|
||||||
|
- sqlite_data:/app/db
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
sqlite_data:
|
||||||
Reference in New Issue
Block a user