mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-26 21:29:05 +11:00
Compare commits
3 commits
c8799c8a22
...
ba5eade723
Author | SHA1 | Date | |
---|---|---|---|
|
ba5eade723 | ||
|
769ec52d9b | ||
|
7015be1355 |
2 changed files with 13 additions and 1 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -48,7 +48,7 @@ jobs:
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
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