@ -68,6 +68,14 @@ Included within the root of the repository is a makefile that can be used during
|
|||||||
> this doc is yet to receive a re-write
|
> this doc is yet to receive a re-write
|
||||||
|
|
||||||
|
|
||||||
|
## Docker Container
|
||||||
|
|
||||||
|
within the `deploy/` directory there is a docker compose file. running `docker compose up` from this directory will launch a full stack deployment locally containing Centurion API, User Interface, a worker and a RabbitMQ server. once launched you can navigate to `http://127.0.0.1/` to start browsing the site.
|
||||||
|
|
||||||
|
You may need to run migrations if your not mounting your own DB. to do this run `docker exec -ti centurion-erp python manage.py migrate`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Old working docs
|
# Old working docs
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,14 +10,13 @@ x-app: ¢urion
|
|||||||
# - default
|
# - default
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/data:/data:rw
|
- ./volumes/data:/data:rw
|
||||||
- ./volumes/etc/itsm:/etc/itsm:ro
|
- ../app/db.sqlite3:/data/db.sqlite3:rw
|
||||||
|
- ./volumes/etc/itsm:/etc/itsm
|
||||||
|
- ./settings.tmp.py:/etc/itsm/settings.py:ro
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
centurion:
|
centurion:
|
||||||
<<: *centurion
|
<<: *centurion
|
||||||
@ -43,6 +42,19 @@ services:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
centurion-ui:
|
||||||
|
image: ghcr.io/nofusscomputing/centurion-erp-ui:dev
|
||||||
|
restart: always
|
||||||
|
container_name: centurion-ui
|
||||||
|
environment:
|
||||||
|
- API_URL=http://127.0.0.1:8000/api/v2
|
||||||
|
hostname: centurion-ui
|
||||||
|
network_mode: "host"
|
||||||
|
depends_on:
|
||||||
|
- centurion
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
image: rabbitmq:4.0.3-management-alpine
|
image: rabbitmq:4.0.3-management-alpine
|
||||||
container_name: rabbitmq
|
container_name: rabbitmq
|
||||||
|
Reference in New Issue
Block a user