DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

ref: 78b9e55d382134e604eca1a5940f9fc11fd9c109 deck-builder/api/docker-compose.dev.yaml -rw-r--r-- 851 bytes
78b9e55dJonni Liljamo fix(server): remove aa_details for user from temp after sending 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
version: "3.0"

networks:
  internal:
    external: false

volumes:
  laurelindb_data:
    driver: local
  laurelinredis_data:
    driver: local

services:
  laurelindb:
    image: postgres:alpine
    container_name: laurelindb
    restart: always
    networks:
      - internal
    ports:
      - 5432:5432
    volumes:
      - laurelindb_data:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: laurelin
      POSTGRES_PASSWORD: laurelin
      POSTGRES_DB: laurelin

  laurelinredis:
    image: redis:7.0.8-alpine
    container_name: laurelinredis
    restart: always
    networks:
      - internal
    ports:
      - 6379:6379
    volumes:
      - laurelinredis_data:/data
    # save the state every 60 seconds, 
    # but only if at least 1 write operation was made in that time
    command: redis-server --save 60 1 --loglevel warning