diff --git a/.github/workflows/docker_image.yaml b/.github/workflows/docker_image.yaml index 04fd40b..76f1533 100644 --- a/.github/workflows/docker_image.yaml +++ b/.github/workflows/docker_image.yaml @@ -4,7 +4,6 @@ on: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} jobs: build-and-push-image: diff --git a/docker-compose.yml b/docker-compose.yml index f2ffa99..7899d59 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,10 @@ services: web: image: ghcr.io/hggh/gpx-viewer/web:latest restart: unless-stopped + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?error}" + POSTGRES_DB: gpxviewer ports: - "127.0.0.1:8000:8000" volumes: @@ -22,6 +26,10 @@ services: celery: image: ghcr.io/hggh/gpx-viewer/celery:latest restart: unless-stopped + environment: + POSTGRES_USER: postgres + POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:?error}" + POSTGRES_DB: gpxviewer volumes: - type: bind source: local_settings.py