Coder Social home page Coder Social logo

Comments (2)

lebriton avatar lebriton commented on May 30, 2024

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.

funkyguy4000 avatar funkyguy4000 commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.