mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Compare commits
3 commits
93eb07afa6
...
c90091982a
Author | SHA1 | Date | |
---|---|---|---|
|
c90091982a | ||
|
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 }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
builder: ${{ steps.buildx.outputs.name }}
|
builder: ${{ steps.buildx.outputs.name }}
|
||||||
context: .
|
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