https://github.com/neulhan/onair
fiber-air-docker development environment boilerplate, examples
https://github.com/neulhan/onair
air docker-compose go
Last synced: 11 months ago
JSON representation
fiber-air-docker development environment boilerplate, examples
- Host: GitHub
- URL: https://github.com/neulhan/onair
- Owner: Neulhan
- License: mit
- Created: 2021-05-19T16:32:57.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-14T17:26:33.000Z (over 2 years ago)
- Last Synced: 2023-12-16T14:42:56.182Z (over 2 years ago)
- Topics: air, docker-compose, go
- Language: Go
- Homepage:
- Size: 60.5 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ON AIR!
fiber-air-docker development environment boilerplate

## Run Project Development
```bash
vi .env/dev.env
PORT=:9000
POSTGRES_HOST=onair-pg
POSTGRES_DB=onair
POSTGRES_USER=onair
POSTGRES_PASSWORD=onair
POSTGRES_PORT=5432
POSTGRES_TZ=Asia/Seoul
PGDATA=/var/lib/postgresql/data/db-files/
SECRET_KEY=a-o{<%MyF.apGy' /bin/bash
...
root@49d68bd0cacd:/# psql -U
psql (13.1 (Debian 13.1-1.pgdg100+1))
Type "help" for help.
...
```
```
# \dt
List of relations
Schema | Name | Type | Owner
--------+-----------+-------+---------
public | books | table | neulhan
(3 rows)
...
# SELECT * FROM books LIMIT 1;
id | created_at | updated_at | deleted_at | name | email | pass | logged_in
----+-------------------------------+-------------------------------+------------+-------+-------+------+-----------
1 | 2021-01-19 00:14:24.580872+09 | 2021-01-19 00:14:24.580872+09 | | | | | t
(1 row)
...
```