DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

ref: 8db41b3a1e2ad2024db3d194fa35b4c231b2f3b5 deck-builder/api/docker-compose.dev.yaml -rw-r--r-- 851 bytes
8db41b3aJonni Liljamo feat(client): revamp user details event, send it when needed 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