This repository has been archived on 2021-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
2020-12-30 17:30:52 +01:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
2020-12-30 17:53:04 +01:00
|
|
|
container_name: photoview_db
|
2020-12-30 17:30:52 +01:00
|
|
|
image: mariadb
|
|
|
|
restart: always
|
|
|
|
env_file:
|
|
|
|
- db.env
|
|
|
|
volumes:
|
|
|
|
- db_data:/var/lib/mysql
|
|
|
|
|
|
|
|
photoview:
|
2020-12-30 17:53:04 +01:00
|
|
|
container_name: photoview
|
2020-12-30 17:30:52 +01:00
|
|
|
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:
|