refactor(docker): simplify to single compose + dynamic build default
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
services:
|
||||
menav:
|
||||
container_name: menav
|
||||
image: menav:latest
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
MENAV_ENABLE_SYNC: ${MENAV_ENABLE_SYNC:-false}
|
||||
MENAV_IMPORT_BOOKMARKS: ${MENAV_IMPORT_BOOKMARKS:-false}
|
||||
image: ${MENAV_IMAGE:-ghcr.io/rbetree/menav:latest}
|
||||
build: .
|
||||
environment:
|
||||
MENAV_ENABLE_SYNC: ${MENAV_ENABLE_SYNC:-false}
|
||||
MENAV_IMPORT_BOOKMARKS: ${MENAV_IMPORT_BOOKMARKS:-false}
|
||||
ports:
|
||||
- '${MENAV_PORT:-8080}:80'
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
- ./bookmarks:/app/bookmarks
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user