mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 03:46:37 +11:00
Compare commits
2 commits
a55d011221
...
dd1d53df84
Author | SHA1 | Date | |
---|---|---|---|
|
dd1d53df84 | ||
|
7015be1355 |
2 changed files with 13 additions and 1 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
context: .
|
||||
|
|
12
minimal.docker-compose.yml
Normal file
12
minimal.docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
services:
|
||||
dpaste:
|
||||
container_name: dpaste
|
||||
image: darrenofficial/dpaste:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: sqlite:////db/dpaste.sqlite
|
||||
PORT: 8000
|
||||
volumes:
|
||||
- ./data/db:/db
|
||||
ports:
|
||||
- "8000:8000"
|
Loading…
Reference in a new issue