Created
          February 1, 2021 19:14 
        
      - 
      
- 
        Save G4brym/2e058ef3e59d049a0ece742df31d0b5d to your computer and use it in GitHub Desktop. 
    Docker compose for running GlitchTip with persistent PostgreSQL
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | version: "3.4" | |
| x-environment: &default-environment | |
| DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres | |
| SECRET_KEY: your-secret-here | |
| PORT: 8000 | |
| GLITCHTIP_DOMAIN: https://glitchtip.yourcompany.com | |
| EMAIL_URL: smtp+tls://smtp-user:[email protected]:587 | |
| DEFAULT_FROM_EMAIL: [email protected] | |
| ENABLE_OPEN_USER_REGISTRATION: "True" | |
| x-depends_on: &default-depends_on | |
| - postgres | |
| - redis | |
| services: | |
| postgres: | |
| image: postgres:12 | |
| environment: | |
| POSTGRES_HOST_AUTH_METHOD: "trust" | |
| restart: unless-stopped | |
| volumes: | |
| # This will save the PostgreSQL data in your current folder | |
| - ./postgres-data:/var/lib/postgresql/data | |
| redis: | |
| image: redis | |
| restart: unless-stopped | |
| web: | |
| image: glitchtip/glitchtip:latest | |
| depends_on: *default-depends_on | |
| ports: | |
| - "8000:8000" | |
| environment: *default-environment | |
| restart: unless-stopped | |
| worker: | |
| image: glitchtip/glitchtip:latest | |
| command: celery -A glitchtip worker -B -l INFO | |
| depends_on: *default-depends_on | |
| environment: *default-environment | |
| restart: unless-stopped | |
| migrate: | |
| image: glitchtip/glitchtip:latest | |
| depends_on: *default-depends_on | |
| command: "./manage.py migrate" | |
| environment: *default-environment | 
@VictorHaine thank you!!!
For anyone having the following error with SES:
smtplib.smtpauthenticationerror: (530, b'must issue a starttls command first')Add the "+tls" after smtp: smtp+tls://...
THANK YOU!
im here too about +tls, thank you
I'm also here for the +tls. Thanks
Also here about +tls. Thank you very much!
if you're trying to do this with an email address for a username, make sure you encode that too:
smtp+tls://john.smith%40example.com:[email protected]:587
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
For anyone having the following error with SES:
smtplib.smtpauthenticationerror: (530, b'must issue a starttls command first')Add the "+tls" after smtp:
smtp+tls://...