mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 03:46:37 +11:00
Compare commits
2 commits
6fcc46222c
...
769ec52d9b
Author | SHA1 | Date | |
---|---|---|---|
|
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
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
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