|
@@ -62,49 +62,4 @@ services:
|
|
|
# Map in the entire project into the container
|
|
|
# This makes sure files in the container updates on the fly as we were working locally
|
|
|
- .:/srv/misago:Z
|
|
|
- celery:
|
|
|
- build: .
|
|
|
- command: celery -A tasks worker --loglevel=info
|
|
|
- environment:
|
|
|
- # Postgres
|
|
|
- - POSTGRES_USER=misago
|
|
|
- - POSTGRES_PASSWORD=misago
|
|
|
- - POSTGRES_DB=misago
|
|
|
- - POSTGRES_HOST=postgres
|
|
|
- - POSTGRES_TEST_DB=misago_test
|
|
|
- # Superuser
|
|
|
- - SUPERUSER_USERNAME=Admin
|
|
|
- - SUPERUSER_EMAIL=admin@example.com
|
|
|
- - SUPERUSER_PASSWORD=password
|
|
|
- ports:
|
|
|
- # Map port 8000 in the container to port 8000 on the host
|
|
|
- # This way we can access the forum through http://localhost:8000
|
|
|
- - "${MISAGO_DEVSERVER_PORT:-8000}:8000"
|
|
|
- depends_on:
|
|
|
- - postgres
|
|
|
- tty: true
|
|
|
- volumes:
|
|
|
- # Map in the entire project into the container
|
|
|
- # This makes sure files in the container updates on the fly as we were working locally
|
|
|
- - .:/srv/misago:Z
|
|
|
- celery:
|
|
|
- build: .
|
|
|
- command: celery -A tasks worker --loglevel=info
|
|
|
- environment:
|
|
|
- # Postgres
|
|
|
- - POSTGRES_USER=misago
|
|
|
- - POSTGRES_PASSWORD=misago
|
|
|
- - POSTGRES_DB=misago
|
|
|
- - POSTGRES_HOST=postgres
|
|
|
- - POSTGRES_TEST_DB=misago_test
|
|
|
- ports:
|
|
|
- # Map port 8000 in the container to port 8000 on the host
|
|
|
- # This way we can access the forum through http://localhost:8000
|
|
|
- - "${MISAGO_DEVSERVER_PORT:-8000}:8000"
|
|
|
- depends_on:
|
|
|
- - postgres
|
|
|
- tty: true
|
|
|
- volumes:
|
|
|
- # Map in the entire project into the container
|
|
|
- # This makes sure files in the container updates on the fly as we were working locally
|
|
|
- - .:/srv/misago:Z
|
|
|
+
|