Skip to content
Discussion options

You must be logged in to vote

Binding to ports <1024 is restricted to the root user in Linux. Since the container is running as 1026:100 binding to the default port (80) fails - can you try specifying another port >1024 - like 9100 - by using the environment variable PORT `(https://icps.steiler.dev/user-guides/cli/#port):

services:
  icloud-photos-sync:
    container_name: icloud-photos-sync
    image: steilerdev/icloud-photos-sync:latest
    network_mode: bridge
    user: 1026:100
    environment:
      - APPLE_ID_USER="my email"
      - APPLE_ID_PWD=${APPLE_ID_PWD}
      - TZ=America/Chicago
      - SCHEDULE=30 3 * * * # Runs every day at 3:30 am
      - ENABLE_CRASH_REPORTING=true
      - PORT=9100
    ports:
     …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tycho40
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants