mirror of
https://github.com/bradganley/bsky-user-activity-bot.git
synced 2025-02-11 10:47:55 +00:00
Added sessionData dir to Dockerfile init process to make volume optional, removed volume from compose file
Some checks failed
Create and publish the bot container / build-and-push-image (push) Has been cancelled
Some checks failed
Create and publish the bot container / build-and-push-image (push) Has been cancelled
This commit is contained in:
parent
6d61b070a6
commit
62e0ef1905
@ -1,6 +1,6 @@
|
|||||||
FROM oven/bun:latest AS base
|
FROM oven/bun:latest AS base
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
RUN mkdir /sessionData && chmod 177 /sessionData
|
||||||
# install dependencies into temp directory
|
# install dependencies into temp directory
|
||||||
# this will cache them and speed up future builds
|
# this will cache them and speed up future builds
|
||||||
FROM base AS install
|
FROM base AS install
|
||||||
|
@ -3,8 +3,6 @@ services:
|
|||||||
bskybot:
|
bskybot:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
|
||||||
- ./sessionData:/sessionData
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
@ -16,11 +14,4 @@ services:
|
|||||||
#- DEBUG_LOG_LEVEL=info
|
#- DEBUG_LOG_LEVEL=info
|
||||||
#- JETSTREAM_URL='wss://jestream1.us-west.bsky.network/subscribe'
|
#- JETSTREAM_URL='wss://jestream1.us-west.bsky.network/subscribe'
|
||||||
#- SESSION_DATA_PATH='/sessionData'
|
#- SESSION_DATA_PATH='/sessionData'
|
||||||
networks:
|
networks_mode: bridge
|
||||||
- bun
|
|
||||||
networks:
|
|
||||||
bun:
|
|
||||||
driver: bridge
|
|
||||||
ipam:
|
|
||||||
config:
|
|
||||||
- subnet: 10.10.0.0/16
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user