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:
|
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 #
|
||||||
|
@ -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"]
|
Loading…
Reference in New Issue
Block a user