mirror of
https://github.com/siemens-mobile-hacks/sie_mpctl_server.git
synced 2026-11-25 17:17:25 +00:00
21 lines
530 B
YAML
21 lines
530 B
YAML
version: '3'
|
|
|
|
services:
|
|
migrate:
|
|
image: sie_mpctl_python
|
|
build: docker/python
|
|
volumes:
|
|
- .:/sie_mpctl
|
|
working_dir: /sie_mpctl/src
|
|
environment:
|
|
- DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE}
|
|
command: python manage.py migrate
|
|
collectstatic:
|
|
image: sie_mpctl_python
|
|
build: docker/python
|
|
volumes:
|
|
- .:/sie_mpctl
|
|
working_dir: /sie_mpctl/src
|
|
environment:
|
|
- DJANGO_SETTINGS_MODULE=${DJANGO_SETTINGS_MODULE}
|
|
command: python manage.py collectstatic --noinput
|