Skip to content

Commit

Permalink
feat: update docker compose files for new update functionalty
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuszik committed Jan 10, 2025
1 parent 53b1799 commit 5701878
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 24 deletions.
14 changes: 0 additions & 14 deletions docker-compose.build.yaml

This file was deleted.

18 changes: 18 additions & 0 deletions docker-compose.build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
services:
photon:
build:
context: .
dockerfile: Dockerfile
args:
- PHOTON_VERSION=${PHOTON_VERSION}
environment:
# - COUNTRY_CODE=zw # Optional: limits data to specific country
- UPDATE_STRATEGY=PARALLEL # PARALLEL, SEQUENTIAL, or DISABLED
- UPDATE_INTERVAL=7d # Format: NUMBER[s|m|h|d]
volumes:
- photon_data:/photon/photon_data
restart: unless-stopped
ports:
- "2322:2322"
volumes:
photon_data:
22 changes: 12 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
services:
photon:
image: rtuszik/photon-docker:latest
# environment:
# - COUNTRY_CODE=zw
volumes:
- photon_data:/photon/photon_data
restart: unless-stopped
ports:
- "2322:2322"
photon:
image: rtuszik/photon-docker:latest
environment:
# - COUNTRY_CODE=zw # Optional: limits data to specific country
- UPDATE_STRATEGY=PARALLEL # PARALLEL, SEQUENTIAL, or DISABLED
- UPDATE_INTERVAL=7d # Format: NUMBER[s|m|h|d]
volumes:
- photon_data:/photon/photon_data
restart: unless-stopped
ports:
- "2322:2322"
volumes:
photon_data:
photon_data:

0 comments on commit 5701878

Please sign in to comment.