You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- version: '3'
-
- services:
- web:
- image: development
- build: .
- working_dir: /app
- command: >
- bash -c "poetry run python manage.py migrate
- && poetry run python3 manage.py collectstatic --noinput
- && poetry run gunicorn pinry.wsgi:application -b 0.0.0.0:8000 --timeout 30"
- ports:
- - "127.0.0.1:2048:8000"
- environment:
- - SECRET_KEY=CHANGE-ME
- - DJANGO_SETTINGS_MODULE=pinry.settings.development
- user: ${CURRENT_UID}
- volumes:
- - .:/app
- restart: always
- build_frontend:
- image: development
- build: .
- working_dir: /app/pinry-spa/
- command: >
- bash -c "yarn install && yarn build"
- user: ${CURRENT_UID}
- volumes:
- - .:/app
- restart: "no"
|