No way to persist settings in Docker
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, docker-compose
- Domain
- devops, infrastructure
Research direction
Start with the docker-compose configuration in the issue and compare the documented mount at https://apiumbrella.io/install/ with the container paths /etc/api-umbrella and /opt/api-umbrella//etc. Inspect the Docker image to determine which path contains configuration. Done means the documented volume mount persists API backends and users across container instances.
Written by the indexing model from the issue text.
Description
I'm using docker-compose with the config as below.
There does not seem to be a way to persist the configuration of the container. When I use the volume mounting that the documentation gives at https://apiumbrella.io/install/ the mount is empty.
If I run bash on the container I can see that there is no /etc/api-umbrella directory, but there is an /opt/api-umbrella//etc directory.
Is this perhaps a mistake in the documentation? How is it possible to persist configuration like API backends and users between instances of the container?
version: '3'
services:
umbrella:
image: nrel/api-umbrella
restart: always
container_name: api-umbrella
ports:
- "80:80"
- "443:443"
volumes:
- ./config/:/etc/api-umbrella
networks:
default:
external:
name: client_api
- Dominant language
- Ruby
- Stars
- 2.2k
- Forks
- 373
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NatLabRockies/api-umbrella
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
NatLabRockies/api-umbrella#687 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
NatLabRockies/api-umbrella#682 · 6 comments · 3 reactions ·
-
MacOS support Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
NatLabRockies/api-umbrella#668 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
NatLabRockies/api-umbrella#659 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
NatLabRockies/api-umbrella#658 ·
All issues in NatLabRockies/api-umbrella
Similar issues
-
バグ
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
voxpupuli/puppet-epel#186 · 1 comment ·
-
external_created_at is no longer used for the message timestamp since the new message UI (v4.4.0) OpenBug Frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
TheOdinProject/curriculum#31402 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100