You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
843 B
38 lines
843 B
3 years ago
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
postgres:
|
||
|
container_name: photonix-postgres
|
||
|
image: postgres:11.1-alpine
|
||
|
environment:
|
||
|
POSTGRES_DB: photonix
|
||
|
POSTGRES_PASSWORD: password
|
||
|
volumes:
|
||
|
- ./data/db:/var/lib/postgresql/data
|
||
|
|
||
|
redis:
|
||
|
container_name: photonix-redis
|
||
|
image: redis:6.2.2
|
||
|
|
||
|
photonix:
|
||
|
container_name: photonix
|
||
|
image: photonixapp/photonix:latest
|
||
|
ports:
|
||
|
- '8888:80'
|
||
|
environment:
|
||
|
ENV: prd
|
||
|
POSTGRES_HOST: postgres
|
||
|
POSTGRES_DB: photonix
|
||
|
POSTGRES_USER: postgres
|
||
|
POSTGRES_PASSWORD: password
|
||
|
REDIS_HOST: redis
|
||
|
ALLOWED_HOSTS: '*'
|
||
|
volumes:
|
||
|
- ./data/photos:/data/photos
|
||
|
- ./data/raw-photos-processed:/data/raw-photos-processed
|
||
|
- ./data/cache:/data/cache
|
||
|
- ./data/models:/data/models
|
||
|
links:
|
||
|
- postgres
|
||
|
- redis
|