add registry

This commit is contained in:
2024-11-05 13:54:09 +03:00
parent ad6c15fde8
commit e7493276c9
4 changed files with 11 additions and 6 deletions

View File

@@ -13,10 +13,12 @@ Here are some example snippets to help you get started creating a container.
## docker-compose
```yaml
version: "3"
services:
server:
image: bitdeals/trac:1.5.3-fedora
trac:
build:
context: https://git.bitdeals.org/private/trac.git
dockerfile: ./docker/Dockerfile
image: registry.bitdeals.org/trac
environment:
- USER_UID=2000
- USER_GID=2000
@@ -34,7 +36,7 @@ docker run -d \
-e USER_GID=2000 \
-v /home/trac:/home/trac \
-p 8055:8055 \
bitdeals/trac
registry.bitdeals.org/trac
```
# Parameters

View File

@@ -6,8 +6,10 @@ networks:
services:
server:
image: bitdeals/trac:1.5.3-fedora
build: ./Docker
build:
context: https://git.bitdeals.org/private/trac.git
dockerfile: ./docker/Dockerfile
image: registry.bitdeals.org/trac
container_name: trac
environment:
- USER_UID=2000
@@ -19,3 +21,4 @@ services:
- /home/trac:/home/trac
ports:
- "127.0.0.1:8055:8055"