Skip to content

Commit

Permalink
Added docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
Yureien committed Aug 16, 2023
1 parent 76c96c0 commit 25c3c58
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: '3.3'
services:
yabin:
ports:
- '3000:3000'
image: 'yureien/yabin:latest'
environment:
- DATABASE_URL=postgresql://user:pass@db:5432/yabin?schema=public
depends_on:
- db
db:
image: postgres:15-alpine
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=pass
- POSTGRES_DB=yabin
volumes:
- db_data:/var/lib/postgresql/data:Z
restart: always
volumes:
db_data: {}

0 comments on commit 25c3c58

Please sign in to comment.