Skip to content

Commit

Permalink
prod docker
Browse files Browse the repository at this point in the history
  • Loading branch information
hggh committed Nov 17, 2024
1 parent 1225148 commit 2ea3307
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/docker_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
Expand Down
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 2ea3307

Please sign in to comment.