This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
BirdsiteLIVE/docker-compose.yml
Sam Therapy 1037449e18
All checks were successful
continuous-integration/drone/push Build is passing
Merge branch 'master' of https://github.com/NicolasConstant/BirdsiteLive
2023-01-11 15:54:29 +01:00

39 lines
No EOL
1 KiB
YAML

version: "3"
networks:
birdsitelivenetwork:
external: false
services:
server:
image: git.froth.zone/birdsitelive:latest
restart: always
container_name: birdsitelive
environment:
- Instance:Domain=domain.name
- Instance:AdminEmail=name@domain.ext
- Db:Type=postgres
- Db:Host=db
- Db:Name=birdsitelive
- Db:User=birdsitelive
- Db:Password=birdsitelive
- Twitter:ConsumerKey=twitter.api.key
- Twitter:ConsumerSecret=twitter.api.key
networks:
- birdsitelivenetwork
ports:
- "5000:80"
depends_on:
- db
db:
image: postgres:15
restart: always
environment:
- POSTGRES_USER=birdsitelive
- POSTGRES_PASSWORD=birdsitelive
- POSTGRES_DB=birdsitelive
networks:
- birdsitelivenetwork
volumes:
- ./postgres:/var/lib/postgresql/data