33 lines
519 B
YAML
33 lines
519 B
YAML
version: "3"
|
|
|
|
services:
|
|
db:
|
|
container_name: photoview_db
|
|
image: mariadb
|
|
restart: always
|
|
env_file:
|
|
- db.env
|
|
volumes:
|
|
- db_data:/var/lib/mysql
|
|
|
|
photoview:
|
|
container_name: photoview
|
|
image: viktorstrate/photoview:latest
|
|
restart: always
|
|
ports:
|
|
- "8123:80"
|
|
depends_on:
|
|
- db
|
|
|
|
env_file:
|
|
- photoview.env
|
|
- mapbox.env
|
|
|
|
volumes:
|
|
- api_cache:/app/cache
|
|
- /home/edpibu/Pictures:/edpibu/Pictures:ro
|
|
|
|
volumes:
|
|
db_data:
|
|
api_cache:
|