Comments (2)
Tbh, I don't know what went wrong.
After looking into the docker-compose.yml file, I verified the secret key I put in the docker-compose.env is the same one my docker-compose.yml.
I don't quite understand. Did you modify docker-compose.yml
? Normally there is no reason to modify docker-compose.yml
(except maybe to modify the ports
). The only settings to customize are in docker-compose.env
.
Can you provide the diff
between docker-compose.yml.example
and docker-compose.yml
, i.e.:
diff -u docker-compose.yml.example docker-compose.yml
from ihatetobudget.
Figured it out!
I must have forgotten to change the source file extensions for when I copied the files over from their example counterparts. I was wondering why the .yml
file looked so much like the .env.
originally. I've re-copied them following the instructions and it looks like things are running well.
I pasted the diff below just for completeness.
pi@raspberrypi:~/ihatetobudget $ diff -u docker-compose.yml.example docker-compose.yml
--- docker-compose.yml.example 2021-03-15 00:03:30.690118381 -0500
+++ docker-compose.yml 2021-03-15 00:08:55.851414757 -0500
@@ -1,27 +1,7 @@
-version: "3"
+DJANGO_SECRET_KEY=<my-secret-key>
+DJANGO_DEBUG=False
-services:
- ihatetobudget:
- build: .
- command: pipenv run daphne -b 0.0.0.0 ihatetobudget.asgi:application
- restart: always
- volumes:
- - .:/usr/src/app
- - static:/static
- env_file: docker-compose.env
- caddy:
- image: caddy:2.0.0
- restart: always
- ports:
- - '80:80'
- volumes:
- - ./Caddyfile:/etc/caddy/Caddyfile
- - caddy_data:/data
- - static:/var/www/static
- depends_on:
- - ihatetobudget
-
-
-volumes:
- caddy_data:
- static:
+CURRENCY_GROUP_SEPARATOR=,
+CURRENCY_DECIMAL_SEPARATOR=.
+CURRENCY_PREFIX=$
+CURRENCY_SUFFIX=
from ihatetobudget.
Related Issues (10)
- Add income HOT 1
- Add an attachment? HOT 10
- Show only numeric keyboard when entering the amount HOT 2
- Translation? HOT 2
- Docker Image Release HOT 3
- Trying to get in touch regarding a security issue HOT 3
- Archiving the project
- Create recurring expense HOT 3
- Ampersand HTML Symbol Entity not rendered on Monthly insights HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ihatetobudget.