mirror of
https://github.com/cioraneanu/firefly-pico.git
synced 2025-12-21 12:39:36 -06:00
37 lines
824 B
YAML
37 lines
824 B
YAML
version: '3.3'
|
|
services:
|
|
|
|
firefly-pico:
|
|
image: cioraneanu/firefly-pico:latest
|
|
container_name: firefly_pico
|
|
ports:
|
|
- "6976:80"
|
|
environment:
|
|
- FIREFLY_URL=https://firefly.domain.com
|
|
- DB_CONNECTION=pgsql
|
|
- DB_HOST=firefly-pico-postgresql
|
|
- DB_PORT=5432
|
|
- DB_DATABASE=firefly-pico
|
|
- DB_USERNAME=firefly-pico
|
|
- DB_PASSWORD=very-secure-pwd
|
|
- TZ=Europe/London
|
|
depends_on:
|
|
- firefly-pico-postgresql
|
|
networks:
|
|
- firefly
|
|
|
|
firefly-pico-postgresql:
|
|
image: postgres:18
|
|
container_name: firefly_pico_db
|
|
environment:
|
|
- POSTGRES_DB=firefly-pico
|
|
- POSTGRES_USER=firefly-pico
|
|
- POSTGRES_PASSWORD=very-secure-pwd
|
|
volumes:
|
|
- /<your_path>:/var/lib/postgresql
|
|
networks:
|
|
- firefly
|
|
|
|
networks:
|
|
firefly:
|