forked from wiktor/spejstore-new
docker-compose: build locally
This commit is contained in:
parent
ce3f07de5f
commit
4fc47030db
|
@ -4,3 +4,5 @@ services:
|
||||||
db:
|
db:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/spejstore-data:/var/lib/postgresql/data
|
- /var/spejstore-data:/var/lib/postgresql/data
|
||||||
|
web:
|
||||||
|
image: registry.k0.hswaw.net/palid/spejstore:1689856372
|
||||||
|
|
|
@ -15,7 +15,7 @@ services:
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
web:
|
web:
|
||||||
image: registry.k0.hswaw.net/palid/spejstore:1689856372
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"
|
command: bash -c "python manage.py migrate && gunicorn -b 0.0.0.0:8000 --capture-output --error-logfile - --access-logfile - spejstore.wsgi:application"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in New Issue