-
Notifications
You must be signed in to change notification settings - Fork 71
/
docker-compose.yml
31 lines (31 loc) · 974 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: "3.7"
services:
photo-stream:
container_name: photo-stream
image: waschinski/photo-stream:latest
#To build from source, comment previous line and uncomment next line
# build:
# context: .
# args:
## - DEBUG=true
## - BASE_IMAGE=arm32v6/ruby:3.1.2-alpine3.16 # arm base image for RPI
environment:
- TITLE=${TITLE}
- EMAIL=${EMAIL}
- AUTHOR_NAME=${AUTHOR_NAME}
- AUTHOR_EMAIL=${AUTHOR_EMAIL}
- AUTHOR_WEBSITE=${AUTHOR_WEBSITE}
- DESCRIPTION=${DESCRIPTION}
- BASEURL=${BASEURL}
- URL=${URL}
- SHOW_RSS_FEED=${SHOW_RSS_FEED}
- SHOW_OFFICIAL_GITHUB=${SHOW_OFFICIAL_GITHUB}
- TWITTER_USERNAME=${TWITTER_USERNAME}
- INSTAGRAM_USERNAME=${INSTAGRAM_USERNAME}
- ALLOW_ORIGINAL_DOWNLOAD=${ALLOW_ORIGINAL_DOWNLOAD}
volumes:
- ${PHOTO_PATH}:/photo-stream/photos
env_file: .env
ports:
- "4000:4000"
restart: unless-stopped