This commit is contained in:
bjoernellens1 2023-11-30 11:40:14 +01:00 committed by GitHub
parent 961f6b0e79
commit 66637892c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 30 deletions

View File

@ -133,29 +133,29 @@ services:
devices:
- /dev/dri:/dev/dri
config:
container_name: olivetin
image: ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
build:
context: .
dockerfile: docker/Dockerfile
tags:
- ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
target: olivetin
x-bake:
platforms:
#- linux/arm64
- linux/amd64
#user: root
privileged: true
volumes:
- ./config/olivetin.yaml:/config/config.yaml # replace host path or volume as needed
- .:/repo
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker
ports:
- "88:1337"
restart: unless-stopped
# config:
# container_name: olivetin
# image: ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
# build:
# context: .
# dockerfile: docker/Dockerfile
# tags:
# - ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
# target: olivetin
# x-bake:
# platforms:
# #- linux/arm64
# - linux/amd64
# #user: root
# privileged: true
# volumes:
# - ./config/olivetin.yaml:/config/config.yaml # replace host path or volume as needed
# - .:/repo
# - /var/run/docker.sock:/var/run/docker.sock
# - /var/lib/docker:/var/lib/docker
# ports:
# - "88:1337"
# restart: unless-stopped
################################################################################################################################
# This section is mostly for supervision from PC #

View File

@ -121,15 +121,15 @@ LABEL org.opencontainers.image.source=https://github.com/bjoernellens1/cps_loki
# ENTRYPOINT [ "/usr/bin/OliveTin" ]
FROM alpine AS olivetin
# FROM alpine AS olivetin
RUN wget https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.apk
RUN apk add --allow-untrusted OliveTin_linux_amd64.apk docker-cli-compose
# RUN wget https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.apk
# RUN apk add --allow-untrusted OliveTin_linux_amd64.apk docker-cli-compose
# Expose the default OliveTin port
EXPOSE 1337
# # Expose the default OliveTin port
# EXPOSE 1337
# Set the default command to run OliveTin
CMD ["OliveTin"]
# # Set the default command to run OliveTin
# CMD ["OliveTin"]