mirror of
https://github.com/skidoodle/iphistory.git
synced 2025-02-15 08:29:16 +01:00
- Update Dockerfile to set BUILDER to /build - Update Dockerfile to set WORKDIR to /app - Update docker-compose.yml to use a named volume for iphistory service - Mount iphistory_data volume to /app directory in the container - Ensure data is preserved when pulling the latest image and recreating the container
15 lines
261 B
YAML
15 lines
261 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
iphistory:
|
|
image: ghcr.io/skidoodle/iphistory:main
|
|
container_name: iphistory
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- iphistory_data:/app
|
|
|
|
volumes:
|
|
iphistory_data:
|
|
external: false
|