mirror of
https://github.com/bjoernellens1/cps_loki.git
synced 2024-11-22 23:33:50 +00:00
update
This commit is contained in:
parent
961f6b0e79
commit
66637892c9
@ -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 #
|
||||
|
@ -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"]
|
Loading…
Reference in New Issue
Block a user