File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " dino-park-packs"
3- version = " 0.5.13 "
3+ version = " 0.5.14 "
44authors = [" Florian Merz <flomerz@gmail.com>" ]
55edition = " 2018"
66
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ FROM debian:13-slim
99RUN apt-get update && apt-get install -y \
1010 libpq5 ca-certificates \
1111 && rm -rf /var/lib/apt/lists/*
12+
1213WORKDIR /root/
1314COPY --from=0 /usr/src/app/target/release/dino-park-packs .
1415CMD ["./dino-park-packs" ]
Original file line number Diff line number Diff line change @@ -9,13 +9,20 @@ services:
99 POSTGRES_DB : dino-park-packs-test-local
1010 POSTGRES_PASSWORD : localhost
1111
12+ adminer :
13+ image : adminer:5-standalone
14+ ports :
15+ - 127.0.0.1:9000:8080
16+ environment :
17+ ADMINER_DEFAULT_SERVER : postgres
18+
1219 packs :
1320 image : dino-park-packs:development
1421 build :
1522 context : ../
1623 dockerfile : Dockerfile.local
1724 environment :
18- DPP_SETTINGS : /root/.settings
25+ DPP_SETTINGS : /root/.settings.json
1926 volumes :
2027 - ../dev/settings.json:/root/.settings.json
2128 ports :
Original file line number Diff line number Diff line change 11{
2- "auth" : " https://dev.mozilla-dev.auth0.com" ,
2+ "comment" : [
3+ " DEBT: The config parser expects all keys to be defined. It does not use" ,
4+ " the fallback to using the default values on `None`. This comment section" ,
5+ " is also a hack." ,
6+ " See also:" ,
7+ " * src/settings.rs;" ,
8+ " * the `config` dependency."
9+ ],
10+ "auth" : " https://dev.mozilla-dev.auth0.com/" ,
311 "cis" : {
412 "client_config" : {
513 "client_id" : " " ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ impl Settings {
3030 let file = env:: var ( "DPP_SETTINGS" ) . unwrap_or_else ( |_| String :: from ( ".settings" ) ) ;
3131 Config :: builder ( )
3232 . add_source ( File :: with_name ( & file) )
33- . add_source ( Environment :: default ( ) . separator ( "__ ") . prefix ( "dp ") )
33+ . add_source ( Environment :: with_prefix ( "DP ") . separator ( "__ ") )
3434 . build ( )
3535 . and_then ( Config :: try_deserialize :: < Settings > )
3636 }
You can’t perform that action at this time.
0 commit comments