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: devices:
- /dev/dri:/dev/dri - /dev/dri:/dev/dri
config: # config:
container_name: olivetin # container_name: olivetin
image: ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin # image: ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
build: # build:
context: . # context: .
dockerfile: docker/Dockerfile # dockerfile: docker/Dockerfile
tags: # tags:
- ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin # - ghcr.io/bjoernellens1/cps_bot_mini_ws/olivetin
target: olivetin # target: olivetin
x-bake: # x-bake:
platforms: # platforms:
#- linux/arm64 # #- linux/arm64
- linux/amd64 # - linux/amd64
#user: root # #user: root
privileged: true # privileged: true
volumes: # volumes:
- ./config/olivetin.yaml:/config/config.yaml # replace host path or volume as needed # - ./config/olivetin.yaml:/config/config.yaml # replace host path or volume as needed
- .:/repo # - .:/repo
- /var/run/docker.sock:/var/run/docker.sock # - /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker:/var/lib/docker # - /var/lib/docker:/var/lib/docker
ports: # ports:
- "88:1337" # - "88:1337"
restart: unless-stopped # restart: unless-stopped
################################################################################################################################ ################################################################################################################################
# This section is mostly for supervision from PC # # 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" ] # 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 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 apk add --allow-untrusted OliveTin_linux_amd64.apk docker-cli-compose
# Expose the default OliveTin port # # Expose the default OliveTin port
EXPOSE 1337 # EXPOSE 1337
# Set the default command to run OliveTin # # Set the default command to run OliveTin
CMD ["OliveTin"] # CMD ["OliveTin"]