27 lines
590 B
YAML
27 lines
590 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
PYTHON_VERSION: "$PYTHON_VERSION"
|
|
DJANGO_VERSION: "$DJANGO_VERSION"
|
|
SELENIUM_VERSION: "$SELENIUM_VERSION"
|
|
command: python tests/manage.py runserver 0.0.0.0:8000
|
|
volumes:
|
|
- .:/code
|
|
ports:
|
|
- "8000:8000"
|
|
depends_on:
|
|
- selenium
|
|
selenium:
|
|
# image: selenium/standalone-firefox
|
|
image: selenium/standalone-firefox-debug:latest
|
|
ports:
|
|
- "4444:4444" # Selenium
|
|
- "5900:5900" # VNC
|
|
volumes:
|
|
- .:/code
|