almost release v0.2
This commit is contained in:
24
README.md
24
README.md
@@ -1,6 +1,6 @@
|
|||||||
# TI1
|
# TI1
|
||||||
|
|
||||||
The best thing to happen since yesterday at 3 pm
|
The best thing to happen since yesterday at 2:57 pm
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@@ -30,8 +30,21 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
restart: always # Ensure the container always restarts
|
restart: always # Ensure the container always restarts
|
||||||
|
|
||||||
|
valkey:
|
||||||
|
image: valkey/valkey:latest
|
||||||
|
container_name: valkey
|
||||||
|
environment:
|
||||||
|
VALKEY_PASSWORD: the_valkey_password
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
volumes:
|
||||||
|
- ./valkey_data:/data
|
||||||
|
networks:
|
||||||
|
- app-network
|
||||||
|
restart: always # Ensure the container always restarts
|
||||||
|
|
||||||
ti1-container:
|
ti1-container:
|
||||||
image: pigwin1/ti1:v0.1.1
|
image: pigwin1/ti1:dev
|
||||||
container_name: ti1-container
|
container_name: ti1-container
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: db
|
DB_HOST: db
|
||||||
@@ -40,9 +53,14 @@ services:
|
|||||||
DB_PASSWORD: ti1password
|
DB_PASSWORD: ti1password
|
||||||
DB_NAME: ti1
|
DB_NAME: ti1
|
||||||
DB_SSLMODE: disable
|
DB_SSLMODE: disable
|
||||||
|
VALKEY_HOST: valkey
|
||||||
|
VALKEY_PORT: 6379
|
||||||
|
VALKEY_PASSWORD: the_valkey_password
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy # Wait until the db service is healthy
|
condition: service_healthy # Wait until the db service is healthy
|
||||||
|
valkey:
|
||||||
|
condition: service_started # Wait until the valkey service is started
|
||||||
networks:
|
networks:
|
||||||
- app-network
|
- app-network
|
||||||
restart: always # Ensure the container always restarts
|
restart: always # Ensure the container always restarts
|
||||||
@@ -54,6 +72,8 @@ networks:
|
|||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
driver: local
|
driver: local
|
||||||
|
valkey_data:
|
||||||
|
driver: local
|
||||||
```
|
```
|
||||||
|
|
||||||
Create `init.sql`
|
Create `init.sql`
|
||||||
|
|||||||
Reference in New Issue
Block a user