current configuration
This commit is contained in:
6
gitea/Dockerfile
Normal file
6
gitea/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
FROM gitea/gitea:latest
|
||||
|
||||
RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng libffi-dev pandoc python3-dev py3-pyzmq pipx
|
||||
|
||||
RUN pipx install jupyter docutils --include-deps --global
|
||||
|
||||
@@ -1,23 +1,26 @@
|
||||
|
||||
networks:
|
||||
gitea:
|
||||
external: false
|
||||
caddynet:
|
||||
external: true
|
||||
|
||||
services:
|
||||
server:
|
||||
image: docker.gitea.com/gitea:1.25.4
|
||||
build:
|
||||
dockerfile: Dockerfile
|
||||
image: gitea-with-pandoc-local
|
||||
container_name: gitea
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- gitea
|
||||
- caddynet
|
||||
volumes:
|
||||
- ./gitea:/data
|
||||
- ./data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "222:22"
|
||||
|
||||
# - "3000:3000"
|
||||
- "2223:22"
|
||||
|
||||
Reference in New Issue
Block a user